mirror of
https://github.com/php/php-src.git
synced 2026-04-26 09:28:21 +02:00
26 lines
367 B
PHP
26 lines
367 B
PHP
--TEST--
|
|
JIT HOT_FUNC: 002
|
|
--INI--
|
|
opcache.enable=1
|
|
opcache.enable_cli=1
|
|
opcache.file_update_protection=0
|
|
opcache.jit_buffer_size=32M
|
|
opcache.jit=tracing
|
|
opcache.jit_hot_func=2
|
|
;opcache.jit_debug=257
|
|
--EXTENSIONS--
|
|
opcache
|
|
--FILE--
|
|
<?php
|
|
function foo() {
|
|
var_dump("hello");
|
|
}
|
|
foo();
|
|
foo();
|
|
foo();
|
|
?>
|
|
--EXPECT--
|
|
string(5) "hello"
|
|
string(5) "hello"
|
|
string(5) "hello"
|