3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php readfile('/etc/php.ini');
based on Wn76a
Output for 5.6.28, 7.0.14 - 7.1.0
[PHP] ; ini_set should be in here too if you're concerned about security disable_functions = pcntl_fork,phpinfo,mail max_execution_time = 3 memory_limit = 64M enable_dl = Off ; for consistency of older versions allow_call_time_pass_reference = Off html_errors = Off extension=gmp.so extension=iconv.so extension=intl.so extension=bcmath.so zend_extension=opcache.so ; show all errors by default, if we'd lower this in the script we'll miss some parser notices error_reporting = -1 display_errors = On display_startup_errors = On log_errors = Off report_memleaks = On [Date] date.timezone = Europe/Amsterdam
Output for 5.5.24 - 5.5.28, 5.5.35 - 5.6.12, 5.6.21, 7.0.6
[PHP] ; Precision of floats in serialized output serialize_precision = 24 ; ini_set should be in here too if you're concerned about security disable_functions = pcntl_fork,phpinfo,mail max_execution_time = 3 memory_limit = 64M enable_dl = Off ; for consistency of older versions allow_call_time_pass_reference = Off html_errors = Off extension=intl.so extension=bcmath.so zend_extension=opcache.so ; show all errors by default, if we'd lower this in the script we'll miss some parser notices error_reporting = -1 display_errors = On display_startup_errors = On log_errors = Off report_memleaks = On [Date] date.timezone = Europe/Amsterdam
Output for 4.3.0, 5.4.39 - 5.4.45, 5.5.29 - 5.5.34, 5.6.13 - 5.6.20, 7.0.0 - 7.0.5
[PHP] ; Precision of floats in serialized output serialize_precision = 24 ; ini_set should be in here too if you're concerned about security disable_functions = pcntl_fork,phpinfo,mail max_execution_time = 3 memory_limit = 64M enable_dl = Off ; for consistency of older versions allow_call_time_pass_reference = Off html_errors = Off ; show all errors by default, if we'd lower this in the script we'll miss some parser notices error_reporting = -1 display_errors = On display_startup_errors = On log_errors = Off report_memleaks = On [Date] date.timezone = Europe/Amsterdam
Output for 5.4.34 - 5.4.38
[PHP] ; Precision of floats in serialized output serialize_precision = 24 ; ini_set should be in here too if you're concerned about security disable_functions = pcntl_fork,phpinfo max_execution_time = 3 memory_limit = 64M enable_dl = Off ; for consistency of older versions allow_call_time_pass_reference = Off html_errors = Off ; show all errors by default, if we'd lower this in the script we'll miss some parser notices error_reporting = -1 display_errors = On display_startup_errors = On log_errors = Off report_memleaks = On [Date] date.timezone = Europe/Amsterdam
Output for 4.3.1 - 5.4.32
[PHP] user_ini.filename = engine = On implicit_flush = On serialize_precision = 100 allow_call_time_pass_reference = Off ;open_basedir = /tmp/ disable_functions = ini_set,pcntl_fork max_execution_time = 3 memory_limit = 64M html_errors = Off error_reporting = -1 display_errors = On display_startup_errors = On log_errors = Off report_memleaks = On enable_dl = Off [Date] date.timezone = Europe/Amsterdam