diff --git a/tests/dockerfiles/php.ini b/tests/dockerfiles/php.ini index 7ce22954e..96006385c 100644 --- a/tests/dockerfiles/php.ini +++ b/tests/dockerfiles/php.ini @@ -6,7 +6,27 @@ display_startup_errors = On ffi.enable=true [opcache] +zend_extension=opcache +opcache.memory_consumption=256M opcache.enable=1 opcache.enable_cli=1 -;opcache.jit=1205 +opcache.jit=function opcache.validate_timestamps=0 +opcache.jit_buffer_size=128M +opcache.file_update_protection=0 +opcache.max_accelerated_files=1000000 +opcache.interned_strings_buffer=64 + +opcache.jit_prof_threshold=0.000000001 +opcache.jit_max_root_traces= 10000000 +opcache.jit_max_side_traces= 10000000 +opcache.jit_max_exit_counters=10000000 +opcache.jit_hot_loop=1 +opcache.jit_hot_func=1 +opcache.jit_hot_return=1 +opcache.jit_hot_side_exit=1 + +opcache.jit_blacklist_root_trace=255 +opcache.jit_blacklist_side_trace=255 + +opcache.protect_memory=1 diff --git a/tests/jit.php b/tests/jit.php new file mode 100644 index 000000000..344846468 --- /dev/null +++ b/tests/jit.php @@ -0,0 +1,12 @@ +