1
0
mirror of https://github.com/php/php-src.git synced 2026-04-04 22:52:40 +02:00

Fix opcache_get_configuration() test

This commit is contained in:
Nikita Popov
2020-05-19 14:12:30 +02:00
parent 8c19e611aa
commit 74ef4bd7ed

View File

@@ -799,6 +799,15 @@ ZEND_FUNCTION(opcache_get_configuration)
add_assoc_long(&directives, "opcache.jit_buffer_size", JIT_G(buffer_size));
add_assoc_long(&directives, "opcache.jit_debug", JIT_G(debug));
add_assoc_long(&directives, "opcache.jit_bisect_limit", JIT_G(bisect_limit));
add_assoc_long(&directives, "opcache.jit_blacklist_root_trace", JIT_G(blacklist_root_trace));
add_assoc_long(&directives, "opcache.jit_blacklist_side_trace", JIT_G(blacklist_side_trace));
add_assoc_long(&directives, "opcache.jit_hot_func", JIT_G(hot_func));
add_assoc_long(&directives, "opcache.jit_hot_loop", JIT_G(hot_loop));
add_assoc_long(&directives, "opcache.jit_hot_return", JIT_G(hot_return));
add_assoc_long(&directives, "opcache.jit_hot_side_exit", JIT_G(hot_side_exit));
add_assoc_long(&directives, "opcache.jit_max_loops_unroll", JIT_G(max_loops_unroll));
add_assoc_long(&directives, "opcache.jit_max_recursion_unroll", JIT_G(max_recursion_unroll));
add_assoc_long(&directives, "opcache.jit_prof_threshold", JIT_G(prof_threshold));
#endif
add_assoc_zval(return_value, "directives", &directives);