3v4l.org

run code in 500+ PHP versions simultaneously
<?php ini_set('opcache.enable_cli', '1'); opcache_compile_file(__FILE__); print_r(opcache_get_configuration()); var_dump(opcache_get_status());
Output for git.master
Notice: Zend OPcache has not been properly started, can't compile file in /in/oHACr on line 4 Array ( [directives] => Array ( [opcache.enable] => 1 [opcache.enable_cli] => [opcache.use_cwd] => 1 [opcache.validate_timestamps] => 1 [opcache.validate_permission] => [opcache.validate_root] => [opcache.dups_fix] => [opcache.revalidate_path] => [opcache.log_verbosity_level] => 1 [opcache.memory_consumption] => 134217728 [opcache.interned_strings_buffer] => 8 [opcache.max_accelerated_files] => 10000 [opcache.max_wasted_percentage] => 0.05 [opcache.consistency_checks] => 0 [opcache.force_restart_timeout] => 180 [opcache.revalidate_freq] => 2 [opcache.preferred_memory_model] => [opcache.blacklist_filename] => [opcache.max_file_size] => 0 [opcache.error_log] => [opcache.protect_memory] => [opcache.save_comments] => 1 [opcache.record_warnings] => [opcache.enable_file_override] => [opcache.optimization_level] => 2147401727 [opcache.lockfile_path] => /tmp [opcache.file_cache] => [opcache.file_cache_only] => [opcache.file_cache_consistency_checks] => 1 [opcache.file_update_protection] => 2 [opcache.opt_debug_level] => 0 [opcache.restrict_api] => [opcache.huge_code_pages] => [opcache.preload] => [opcache.preload_user] => [opcache.jit] => tracing [opcache.jit_buffer_size] => 0 [opcache.jit_debug] => 0 [opcache.jit_bisect_limit] => 0 [opcache.jit_blacklist_root_trace] => 16 [opcache.jit_blacklist_side_trace] => 8 [opcache.jit_hot_func] => 127 [opcache.jit_hot_loop] => 64 [opcache.jit_hot_return] => 8 [opcache.jit_hot_side_exit] => 8 [opcache.jit_max_exit_counters] => 8192 [opcache.jit_max_loop_unrolls] => 8 [opcache.jit_max_polymorphic_calls] => 2 [opcache.jit_max_recursive_calls] => 2 [opcache.jit_max_recursive_returns] => 2 [opcache.jit_max_root_traces] => 1024 [opcache.jit_max_side_traces] => 128 [opcache.jit_prof_threshold] => 0 ) [version] => Array ( [version] => 8.3.0-dev [opcache_product_name] => Zend OPcache ) [blacklist] => Array ( ) ) bool(false)
Output for git.master_jit
Array ( [directives] => Array ( [opcache.enable] => 1 [opcache.enable_cli] => 1 [opcache.use_cwd] => 1 [opcache.validate_timestamps] => 1 [opcache.validate_permission] => [opcache.validate_root] => [opcache.dups_fix] => [opcache.revalidate_path] => [opcache.log_verbosity_level] => 1 [opcache.memory_consumption] => 8388608 [opcache.interned_strings_buffer] => 0 [opcache.max_accelerated_files] => 10000 [opcache.max_wasted_percentage] => 0.05 [opcache.consistency_checks] => 0 [opcache.force_restart_timeout] => 180 [opcache.revalidate_freq] => 2 [opcache.preferred_memory_model] => [opcache.blacklist_filename] => [opcache.max_file_size] => 0 [opcache.error_log] => [opcache.protect_memory] => [opcache.save_comments] => 1 [opcache.record_warnings] => [opcache.enable_file_override] => [opcache.optimization_level] => 2147401727 [opcache.lockfile_path] => /tmp [opcache.file_cache] => [opcache.file_cache_only] => [opcache.file_cache_consistency_checks] => 1 [opcache.file_update_protection] => 2 [opcache.opt_debug_level] => 0 [opcache.restrict_api] => [opcache.huge_code_pages] => [opcache.preload] => [opcache.preload_user] => [opcache.jit] => tracing [opcache.jit_buffer_size] => 8388608 [opcache.jit_debug] => 0 [opcache.jit_bisect_limit] => 0 [opcache.jit_blacklist_root_trace] => 16 [opcache.jit_blacklist_side_trace] => 8 [opcache.jit_hot_func] => 127 [opcache.jit_hot_loop] => 64 [opcache.jit_hot_return] => 8 [opcache.jit_hot_side_exit] => 8 [opcache.jit_max_exit_counters] => 8192 [opcache.jit_max_loop_unrolls] => 8 [opcache.jit_max_polymorphic_calls] => 2 [opcache.jit_max_recursive_calls] => 2 [opcache.jit_max_recursive_returns] => 2 [opcache.jit_max_root_traces] => 1024 [opcache.jit_max_side_traces] => 128 [opcache.jit_prof_threshold] => 0 ) [version] => Array ( [version] => 8.3.0-dev [opcache_product_name] => Zend OPcache ) [blacklist] => Array ( ) ) array(8) { ["opcache_enabled"]=> bool(true) ["cache_full"]=> bool(false) ["restart_pending"]=> bool(false) ["restart_in_progress"]=> bool(false) ["memory_usage"]=> array(4) { ["used_memory"]=> int(869576) ["free_memory"]=> int(7519032) ["wasted_memory"]=> int(0) ["current_wasted_percentage"]=> float(0) } ["opcache_statistics"]=> array(13) { ["num_cached_scripts"]=> int(0) ["num_cached_keys"]=> int(0) ["max_cached_keys"]=> int(16229) ["hits"]=> int(0) ["start_time"]=> int(1664746594) ["last_restart_time"]=> int(0) ["oom_restarts"]=> int(0) ["hash_restarts"]=> int(0) ["manual_restarts"]=> int(0) ["misses"]=> int(2) ["blacklist_misses"]=> int(0) ["blacklist_miss_ratio"]=> float(0) ["opcache_hit_rate"]=> float(0) } ["scripts"]=> array(0) { } ["jit"]=> array(7) { ["enabled"]=> bool(true) ["on"]=> bool(true) ["kind"]=> int(5) ["opt_level"]=> int(4) ["opt_flags"]=> int(6) ["buffer_size"]=> int(8388592) ["buffer_free"]=> int(8386096) } }
Output for rfc.property-hooks
Notice: Zend OPcache has not been properly started, can't compile file in /in/oHACr on line 4 Array ( [directives] => Array ( [opcache.enable] => 1 [opcache.enable_cli] => [opcache.use_cwd] => 1 [opcache.validate_timestamps] => 1 [opcache.validate_permission] => [opcache.validate_root] => [opcache.dups_fix] => [opcache.revalidate_path] => [opcache.log_verbosity_level] => 1 [opcache.memory_consumption] => 134217728 [opcache.interned_strings_buffer] => 8 [opcache.max_accelerated_files] => 10000 [opcache.max_wasted_percentage] => 0.05 [opcache.consistency_checks] => 0 [opcache.force_restart_timeout] => 180 [opcache.revalidate_freq] => 2 [opcache.preferred_memory_model] => [opcache.blacklist_filename] => [opcache.max_file_size] => 0 [opcache.error_log] => [opcache.protect_memory] => [opcache.save_comments] => 1 [opcache.record_warnings] => [opcache.enable_file_override] => [opcache.optimization_level] => 2147401727 [opcache.lockfile_path] => /tmp [opcache.file_cache] => [opcache.file_cache_only] => [opcache.file_cache_consistency_checks] => 1 [opcache.file_update_protection] => 2 [opcache.opt_debug_level] => 0 [opcache.restrict_api] => [opcache.huge_code_pages] => [opcache.preload] => [opcache.preload_user] => [opcache.jit] => tracing [opcache.jit_buffer_size] => 0 [opcache.jit_debug] => 0 [opcache.jit_bisect_limit] => 0 [opcache.jit_blacklist_root_trace] => 16 [opcache.jit_blacklist_side_trace] => 8 [opcache.jit_hot_func] => 127 [opcache.jit_hot_loop] => 64 [opcache.jit_hot_return] => 8 [opcache.jit_hot_side_exit] => 8 [opcache.jit_max_exit_counters] => 8192 [opcache.jit_max_loop_unrolls] => 8 [opcache.jit_max_polymorphic_calls] => 2 [opcache.jit_max_recursive_calls] => 2 [opcache.jit_max_recursive_returns] => 2 [opcache.jit_max_root_traces] => 1024 [opcache.jit_max_side_traces] => 128 [opcache.jit_prof_threshold] => 0 [opcache.jit_max_trace_length] => 1024 ) [version] => Array ( [version] => 8.3.0-dev [opcache_product_name] => Zend OPcache ) [blacklist] => Array ( ) ) bool(false)

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
109.12 ms | 2084 KiB | 4 Q