3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump((new ReflectionExtension('Zend Opcache'))->getINIEntries());
Output for 7.3.0alpha1
Fatal error: Uncaught ReflectionException: Extension Zend Opcache does not exist in /in/jbH0l:3 Stack trace: #0 /in/jbH0l(3): ReflectionExtension->__construct('Zend Opcache') #1 {main} thrown in /in/jbH0l on line 3
Process exited with code 255.
Output for 7.2.0 - 7.2.6
array(33) { ["opcache.enable"]=> string(1) "1" ["opcache.use_cwd"]=> string(1) "1" ["opcache.validate_timestamps"]=> string(1) "1" ["opcache.validate_permission"]=> string(1) "0" ["opcache.validate_root"]=> string(1) "0" ["opcache.inherited_hack"]=> string(1) "1" ["opcache.dups_fix"]=> string(1) "0" ["opcache.revalidate_path"]=> string(1) "0" ["opcache.log_verbosity_level"]=> string(1) "1" ["opcache.memory_consumption"]=> string(3) "128" ["opcache.interned_strings_buffer"]=> string(1) "8" ["opcache.max_accelerated_files"]=> string(5) "10000" ["opcache.max_wasted_percentage"]=> string(1) "5" ["opcache.consistency_checks"]=> string(1) "0" ["opcache.force_restart_timeout"]=> string(3) "180" ["opcache.revalidate_freq"]=> string(1) "2" ["opcache.file_update_protection"]=> string(1) "2" ["opcache.preferred_memory_model"]=> string(0) "" ["opcache.blacklist_filename"]=> string(0) "" ["opcache.max_file_size"]=> string(1) "0" ["opcache.protect_memory"]=> string(1) "0" ["opcache.save_comments"]=> string(1) "1" ["opcache.optimization_level"]=> string(10) "0x7FFFBFFF" ["opcache.opt_debug_level"]=> string(1) "0" ["opcache.enable_file_override"]=> string(1) "0" ["opcache.enable_cli"]=> string(1) "0" ["opcache.error_log"]=> string(0) "" ["opcache.restrict_api"]=> string(0) "" ["opcache.lockfile_path"]=> string(4) "/tmp" ["opcache.file_cache"]=> NULL ["opcache.file_cache_only"]=> string(1) "0" ["opcache.file_cache_consistency_checks"]=> string(1) "1" ["opcache.huge_code_pages"]=> string(1) "0" }
Output for 7.1.7
array(34) { ["opcache.enable"]=> string(1) "1" ["opcache.use_cwd"]=> string(1) "1" ["opcache.validate_timestamps"]=> string(1) "1" ["opcache.validate_permission"]=> string(1) "0" ["opcache.validate_root"]=> string(1) "0" ["opcache.inherited_hack"]=> string(1) "1" ["opcache.dups_fix"]=> string(1) "0" ["opcache.revalidate_path"]=> string(1) "0" ["opcache.log_verbosity_level"]=> string(1) "1" ["opcache.memory_consumption"]=> string(3) "128" ["opcache.interned_strings_buffer"]=> string(1) "8" ["opcache.max_accelerated_files"]=> string(5) "10000" ["opcache.max_wasted_percentage"]=> string(1) "5" ["opcache.consistency_checks"]=> string(1) "0" ["opcache.force_restart_timeout"]=> string(3) "180" ["opcache.revalidate_freq"]=> string(1) "2" ["opcache.file_update_protection"]=> string(1) "2" ["opcache.preferred_memory_model"]=> string(0) "" ["opcache.blacklist_filename"]=> string(0) "" ["opcache.max_file_size"]=> string(1) "0" ["opcache.protect_memory"]=> string(1) "0" ["opcache.save_comments"]=> string(1) "1" ["opcache.fast_shutdown"]=> string(1) "0" ["opcache.optimization_level"]=> string(10) "0x7FFFBFFF" ["opcache.opt_debug_level"]=> string(1) "0" ["opcache.enable_file_override"]=> string(1) "0" ["opcache.enable_cli"]=> string(1) "0" ["opcache.error_log"]=> string(0) "" ["opcache.restrict_api"]=> string(0) "" ["opcache.lockfile_path"]=> string(4) "/tmp" ["opcache.file_cache"]=> NULL ["opcache.file_cache_only"]=> string(1) "0" ["opcache.file_cache_consistency_checks"]=> string(1) "1" ["opcache.huge_code_pages"]=> string(1) "0" }
Output for 7.1.5 - 7.1.6
array(34) { ["opcache.enable"]=> string(1) "1" ["opcache.use_cwd"]=> string(1) "1" ["opcache.validate_timestamps"]=> string(1) "1" ["opcache.validate_permission"]=> string(1) "0" ["opcache.validate_root"]=> string(1) "0" ["opcache.inherited_hack"]=> string(1) "1" ["opcache.dups_fix"]=> string(1) "0" ["opcache.revalidate_path"]=> string(1) "0" ["opcache.log_verbosity_level"]=> string(1) "1" ["opcache.memory_consumption"]=> string(3) "128" ["opcache.interned_strings_buffer"]=> string(1) "8" ["opcache.max_accelerated_files"]=> string(5) "10000" ["opcache.max_wasted_percentage"]=> string(1) "5" ["opcache.consistency_checks"]=> string(1) "0" ["opcache.force_restart_timeout"]=> string(3) "180" ["opcache.revalidate_freq"]=> string(1) "2" ["opcache.file_update_protection"]=> string(1) "2" ["opcache.preferred_memory_model"]=> string(0) "" ["opcache.blacklist_filename"]=> string(0) "" ["opcache.max_file_size"]=> string(1) "0" ["opcache.protect_memory"]=> string(1) "0" ["opcache.save_comments"]=> string(1) "1" ["opcache.fast_shutdown"]=> string(1) "0" ["opcache.optimization_level"]=> string(10) "0x7FFFBFFF" ["opcache.opt_debug_level"]=> string(1) "0" ["opcache.enable_file_override"]=> string(1) "0" ["opcache.enable_cli"]=> string(1) "1" ["opcache.error_log"]=> string(0) "" ["opcache.restrict_api"]=> string(0) "" ["opcache.lockfile_path"]=> string(4) "/tmp" ["opcache.file_cache"]=> NULL ["opcache.file_cache_only"]=> string(1) "0" ["opcache.file_cache_consistency_checks"]=> string(1) "1" ["opcache.huge_code_pages"]=> string(1) "0" }
Output for 7.1.0
array(34) { ["opcache.enable"]=> string(1) "1" ["opcache.use_cwd"]=> string(1) "1" ["opcache.validate_timestamps"]=> string(1) "1" ["opcache.validate_permission"]=> string(1) "0" ["opcache.validate_root"]=> string(1) "0" ["opcache.inherited_hack"]=> string(1) "1" ["opcache.dups_fix"]=> string(1) "0" ["opcache.revalidate_path"]=> string(1) "0" ["opcache.log_verbosity_level"]=> string(1) "1" ["opcache.memory_consumption"]=> string(2) "64" ["opcache.interned_strings_buffer"]=> string(1) "4" ["opcache.max_accelerated_files"]=> string(4) "2000" ["opcache.max_wasted_percentage"]=> string(1) "5" ["opcache.consistency_checks"]=> string(1) "0" ["opcache.force_restart_timeout"]=> string(3) "180" ["opcache.revalidate_freq"]=> string(1) "2" ["opcache.file_update_protection"]=> string(1) "2" ["opcache.preferred_memory_model"]=> string(0) "" ["opcache.blacklist_filename"]=> string(0) "" ["opcache.max_file_size"]=> string(1) "0" ["opcache.protect_memory"]=> string(1) "0" ["opcache.save_comments"]=> string(1) "1" ["opcache.fast_shutdown"]=> string(1) "0" ["opcache.optimization_level"]=> string(10) "0x7FFFBFFF" ["opcache.opt_debug_level"]=> string(1) "0" ["opcache.enable_file_override"]=> string(1) "0" ["opcache.enable_cli"]=> string(1) "0" ["opcache.error_log"]=> string(0) "" ["opcache.restrict_api"]=> string(0) "" ["opcache.lockfile_path"]=> string(4) "/tmp" ["opcache.file_cache"]=> NULL ["opcache.file_cache_only"]=> string(1) "0" ["opcache.file_cache_consistency_checks"]=> string(1) "1" ["opcache.huge_code_pages"]=> string(1) "0" }
Output for 7.0.20
array(33) { ["opcache.enable"]=> string(1) "1" ["opcache.use_cwd"]=> string(1) "1" ["opcache.validate_timestamps"]=> string(1) "1" ["opcache.validate_permission"]=> string(1) "0" ["opcache.validate_root"]=> string(1) "0" ["opcache.inherited_hack"]=> string(1) "1" ["opcache.dups_fix"]=> string(1) "0" ["opcache.revalidate_path"]=> string(1) "0" ["opcache.log_verbosity_level"]=> string(1) "1" ["opcache.memory_consumption"]=> string(2) "64" ["opcache.interned_strings_buffer"]=> string(1) "4" ["opcache.max_accelerated_files"]=> string(4) "2000" ["opcache.max_wasted_percentage"]=> string(1) "5" ["opcache.consistency_checks"]=> string(1) "0" ["opcache.force_restart_timeout"]=> string(3) "180" ["opcache.revalidate_freq"]=> string(1) "2" ["opcache.file_update_protection"]=> string(1) "2" ["opcache.preferred_memory_model"]=> string(0) "" ["opcache.blacklist_filename"]=> string(0) "" ["opcache.max_file_size"]=> string(1) "0" ["opcache.protect_memory"]=> string(1) "0" ["opcache.save_comments"]=> string(1) "1" ["opcache.fast_shutdown"]=> string(1) "0" ["opcache.optimization_level"]=> string(10) "0x7FFFBFFF" ["opcache.enable_file_override"]=> string(1) "0" ["opcache.enable_cli"]=> string(1) "0" ["opcache.error_log"]=> string(0) "" ["opcache.restrict_api"]=> string(0) "" ["opcache.lockfile_path"]=> string(4) "/tmp" ["opcache.file_cache"]=> NULL ["opcache.file_cache_only"]=> string(1) "0" ["opcache.file_cache_consistency_checks"]=> string(1) "1" ["opcache.huge_code_pages"]=> string(1) "0" }
Output for 7.0.6 - 7.0.11
array(31) { ["opcache.enable"]=> string(1) "1" ["opcache.use_cwd"]=> string(1) "1" ["opcache.validate_timestamps"]=> string(1) "1" ["opcache.inherited_hack"]=> string(1) "1" ["opcache.dups_fix"]=> string(1) "0" ["opcache.revalidate_path"]=> string(1) "0" ["opcache.log_verbosity_level"]=> string(1) "1" ["opcache.memory_consumption"]=> string(2) "64" ["opcache.interned_strings_buffer"]=> string(1) "4" ["opcache.max_accelerated_files"]=> string(4) "2000" ["opcache.max_wasted_percentage"]=> string(1) "5" ["opcache.consistency_checks"]=> string(1) "0" ["opcache.force_restart_timeout"]=> string(3) "180" ["opcache.revalidate_freq"]=> string(1) "2" ["opcache.file_update_protection"]=> string(1) "2" ["opcache.preferred_memory_model"]=> string(0) "" ["opcache.blacklist_filename"]=> string(0) "" ["opcache.max_file_size"]=> string(1) "0" ["opcache.protect_memory"]=> string(1) "0" ["opcache.save_comments"]=> string(1) "1" ["opcache.fast_shutdown"]=> string(1) "0" ["opcache.optimization_level"]=> string(10) "0x7FFFBFFF" ["opcache.enable_file_override"]=> string(1) "0" ["opcache.enable_cli"]=> string(1) "0" ["opcache.error_log"]=> string(0) "" ["opcache.restrict_api"]=> string(0) "" ["opcache.lockfile_path"]=> string(4) "/tmp" ["opcache.file_cache"]=> NULL ["opcache.file_cache_only"]=> string(1) "0" ["opcache.file_cache_consistency_checks"]=> string(1) "1" ["opcache.huge_code_pages"]=> string(1) "0" }
Output for 7.0.3 - 7.0.5
array(30) { ["opcache.enable"]=> string(1) "1" ["opcache.use_cwd"]=> string(1) "1" ["opcache.validate_timestamps"]=> string(1) "1" ["opcache.inherited_hack"]=> string(1) "1" ["opcache.dups_fix"]=> string(1) "0" ["opcache.revalidate_path"]=> string(1) "0" ["opcache.log_verbosity_level"]=> string(1) "1" ["opcache.memory_consumption"]=> string(2) "64" ["opcache.interned_strings_buffer"]=> string(1) "4" ["opcache.max_accelerated_files"]=> string(4) "2000" ["opcache.max_wasted_percentage"]=> string(1) "5" ["opcache.consistency_checks"]=> string(1) "0" ["opcache.force_restart_timeout"]=> string(3) "180" ["opcache.revalidate_freq"]=> string(1) "2" ["opcache.file_update_protection"]=> string(1) "2" ["opcache.preferred_memory_model"]=> string(0) "" ["opcache.blacklist_filename"]=> string(0) "" ["opcache.max_file_size"]=> string(1) "0" ["opcache.protect_memory"]=> string(1) "0" ["opcache.save_comments"]=> string(1) "1" ["opcache.fast_shutdown"]=> string(1) "0" ["opcache.optimization_level"]=> string(10) "0x7FFFBFFF" ["opcache.enable_file_override"]=> string(1) "0" ["opcache.enable_cli"]=> string(1) "0" ["opcache.error_log"]=> string(0) "" ["opcache.restrict_api"]=> string(0) "" ["opcache.file_cache"]=> NULL ["opcache.file_cache_only"]=> string(1) "0" ["opcache.file_cache_consistency_checks"]=> string(1) "1" ["opcache.huge_code_pages"]=> string(1) "0" }
Output for 7.0.2
array(30) { ["opcache.enable"]=> string(1) "1" ["opcache.use_cwd"]=> string(1) "1" ["opcache.validate_timestamps"]=> string(1) "1" ["opcache.inherited_hack"]=> string(1) "1" ["opcache.dups_fix"]=> string(1) "0" ["opcache.revalidate_path"]=> string(1) "0" ["opcache.log_verbosity_level"]=> string(1) "1" ["opcache.memory_consumption"]=> string(2) "64" ["opcache.interned_strings_buffer"]=> string(1) "4" ["opcache.max_accelerated_files"]=> string(4) "2000" ["opcache.max_wasted_percentage"]=> string(1) "5" ["opcache.consistency_checks"]=> string(1) "0" ["opcache.force_restart_timeout"]=> string(3) "180" ["opcache.revalidate_freq"]=> string(1) "2" ["opcache.file_update_protection"]=> string(1) "2" ["opcache.preferred_memory_model"]=> string(0) "" ["opcache.blacklist_filename"]=> string(0) "" ["opcache.max_file_size"]=> string(1) "0" ["opcache.protect_memory"]=> string(1) "0" ["opcache.save_comments"]=> string(1) "1" ["opcache.fast_shutdown"]=> string(1) "0" ["opcache.optimization_level"]=> string(10) "0xFFFFBFFF" ["opcache.enable_file_override"]=> string(1) "0" ["opcache.enable_cli"]=> string(1) "0" ["opcache.error_log"]=> string(0) "" ["opcache.restrict_api"]=> string(0) "" ["opcache.file_cache"]=> NULL ["opcache.file_cache_only"]=> string(1) "0" ["opcache.file_cache_consistency_checks"]=> string(1) "1" ["opcache.huge_code_pages"]=> string(1) "0" }
Output for 7.0.0 - 7.0.1
array(30) { ["opcache.enable"]=> string(1) "1" ["opcache.use_cwd"]=> string(1) "1" ["opcache.validate_timestamps"]=> string(1) "1" ["opcache.inherited_hack"]=> string(1) "1" ["opcache.dups_fix"]=> string(1) "0" ["opcache.revalidate_path"]=> string(1) "0" ["opcache.log_verbosity_level"]=> string(1) "1" ["opcache.memory_consumption"]=> string(2) "64" ["opcache.interned_strings_buffer"]=> string(1) "4" ["opcache.max_accelerated_files"]=> string(4) "2000" ["opcache.max_wasted_percentage"]=> string(1) "5" ["opcache.consistency_checks"]=> string(1) "0" ["opcache.force_restart_timeout"]=> string(3) "180" ["opcache.revalidate_freq"]=> string(1) "2" ["opcache.file_update_protection"]=> string(1) "2" ["opcache.preferred_memory_model"]=> string(0) "" ["opcache.blacklist_filename"]=> string(0) "" ["opcache.max_file_size"]=> string(1) "0" ["opcache.protect_memory"]=> string(1) "0" ["opcache.save_comments"]=> string(1) "1" ["opcache.fast_shutdown"]=> string(1) "0" ["opcache.optimization_level"]=> string(10) "0xFFFFFFFF" ["opcache.enable_file_override"]=> string(1) "0" ["opcache.enable_cli"]=> string(1) "0" ["opcache.error_log"]=> string(0) "" ["opcache.restrict_api"]=> string(0) "" ["opcache.file_cache"]=> NULL ["opcache.file_cache_only"]=> string(1) "0" ["opcache.file_cache_consistency_checks"]=> string(1) "1" ["opcache.huge_code_pages"]=> string(1) "0" }
Output for 5.6.18 - 5.6.28
array(27) { ["opcache.enable"]=> string(1) "1" ["opcache.use_cwd"]=> string(1) "1" ["opcache.validate_timestamps"]=> string(1) "1" ["opcache.inherited_hack"]=> string(1) "1" ["opcache.dups_fix"]=> string(1) "0" ["opcache.revalidate_path"]=> string(1) "0" ["opcache.log_verbosity_level"]=> string(1) "1" ["opcache.memory_consumption"]=> string(2) "64" ["opcache.interned_strings_buffer"]=> string(1) "4" ["opcache.max_accelerated_files"]=> string(4) "2000" ["opcache.max_wasted_percentage"]=> string(1) "5" ["opcache.consistency_checks"]=> string(1) "0" ["opcache.force_restart_timeout"]=> string(3) "180" ["opcache.revalidate_freq"]=> string(1) "2" ["opcache.file_update_protection"]=> string(1) "2" ["opcache.preferred_memory_model"]=> string(0) "" ["opcache.blacklist_filename"]=> string(0) "" ["opcache.max_file_size"]=> string(1) "0" ["opcache.protect_memory"]=> string(1) "0" ["opcache.save_comments"]=> string(1) "1" ["opcache.load_comments"]=> string(1) "1" ["opcache.fast_shutdown"]=> string(1) "0" ["opcache.optimization_level"]=> string(10) "0x7FFFBFFF" ["opcache.enable_file_override"]=> string(1) "0" ["opcache.enable_cli"]=> string(1) "0" ["opcache.error_log"]=> string(0) "" ["opcache.restrict_api"]=> string(0) "" }
Output for 5.6.0 - 5.6.17
array(27) { ["opcache.enable"]=> string(1) "1" ["opcache.use_cwd"]=> string(1) "1" ["opcache.validate_timestamps"]=> string(1) "1" ["opcache.inherited_hack"]=> string(1) "1" ["opcache.dups_fix"]=> string(1) "0" ["opcache.revalidate_path"]=> string(1) "0" ["opcache.log_verbosity_level"]=> string(1) "1" ["opcache.memory_consumption"]=> string(2) "64" ["opcache.interned_strings_buffer"]=> string(1) "4" ["opcache.max_accelerated_files"]=> string(4) "2000" ["opcache.max_wasted_percentage"]=> string(1) "5" ["opcache.consistency_checks"]=> string(1) "0" ["opcache.force_restart_timeout"]=> string(3) "180" ["opcache.revalidate_freq"]=> string(1) "2" ["opcache.file_update_protection"]=> string(1) "2" ["opcache.preferred_memory_model"]=> string(0) "" ["opcache.blacklist_filename"]=> string(0) "" ["opcache.max_file_size"]=> string(1) "0" ["opcache.protect_memory"]=> string(1) "0" ["opcache.save_comments"]=> string(1) "1" ["opcache.load_comments"]=> string(1) "1" ["opcache.fast_shutdown"]=> string(1) "0" ["opcache.optimization_level"]=> string(10) "0xFFFFFFFF" ["opcache.enable_file_override"]=> string(1) "0" ["opcache.enable_cli"]=> string(1) "0" ["opcache.error_log"]=> string(0) "" ["opcache.restrict_api"]=> string(0) "" }
Output for 5.4.0 - 5.5.38
Fatal error: Uncaught exception 'ReflectionException' with message 'Extension Zend Opcache does not exist' in /in/jbH0l:3 Stack trace: #0 /in/jbH0l(3): ReflectionExtension->__construct('Zend Opcache') #1 {main} thrown in /in/jbH0l on line 3
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /in/jbH0l on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_OBJECT_OPERATOR in /in/jbH0l on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/jbH0l on line 3
Process exited with code 255.