3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php include('/etc/php.ini');
Output for 5.6.28, 7.0.12 - 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 5.3.0 - 5.4.45, 5.5.29 - 5.5.34, 5.6.13 - 5.6.20, hhvm-3.10.0 - 3.12.0, 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