3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo file_get_contents('/etc/php.ini');
Output for 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 4.3.0 - 7.0.7
[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