3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php ob_start(); date_default_timezone_set('UTC'); phpinfo(INFO_GENERAL | INFO_CONFIGURATION | INFO_MODULES); $phpinfo = ob_get_contents(); ob_end_clean(); preg_match_all('#<body[^>]*>(.*)</body>#siU', $phpinfo, $output); $output = preg_replace('#<table[^>]*>#', '<table class="table table-striped adminlist">', $output[1][0]); $output1 = preg_replace('#(\w),(\w)#', '\1, \2', $output); xdiff_string_diff($output, $output1);
Output for 7.0.0 - 7.1.0
Notice: Undefined offset: 0 in /in/lYSGT on line 8 Fatal error: Uncaught Error: Call to undefined function xdiff_string_diff() in /in/lYSGT:10 Stack trace: #0 {main} thrown in /in/lYSGT on line 10
Process exited with code 255.
Output for hhvm-3.10.0 - 3.12.0
Fatal error: Call to undefined function xdiff_string_diff() in /in/lYSGT on line 10
Process exited with code 255.
Output for 5.3.0 - 5.6.28
Notice: Undefined offset: 0 in /in/lYSGT on line 8 Fatal error: Call to undefined function xdiff_string_diff() in /in/lYSGT on line 10
Process exited with code 255.
Output for 5.1.0 - 5.2.17
Notice: Undefined offset: 0 in /in/lYSGT on line 8 Fatal error: Call to undefined function xdiff_string_diff() in /in/lYSGT on line 10
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Fatal error: Call to undefined function date_default_timezone_set() in /in/lYSGT on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: date_default_timezone_set() in /in/lYSGT on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: date_default_timezone_set() in /in/lYSGT on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: date_default_timezone_set() in /in/lYSGT on line 3