3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function critical_error($error_number,$error_string,$error_file,$error_line,$error_context) { echo "<strong>error:</strong> echo ".$error_string; exit(); } set_error_handler("critical_error",8191); test(); exit;
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Call to undefined function test() in /in/Y3S0Z:8 Stack trace: #0 {main} thrown in /in/Y3S0Z on line 8
Process exited with code 255.
Output for 5.0.0 - 5.6.28
Fatal error: Call to undefined function test() in /in/Y3S0Z on line 8
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Warning: Wrong parameter count for set_error_handler() in /in/Y3S0Z on line 7 Fatal error: Call to undefined function: test() in /in/Y3S0Z on line 8
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Warning: Wrong parameter count for set_error_handler() in /in/Y3S0Z on line 7 Fatal error: Call to undefined function: test() in /in/Y3S0Z on line 8
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Warning: Wrong parameter count for set_error_handler() in /in/Y3S0Z on line 7 Fatal error: Call to undefined function: test() in /in/Y3S0Z on line 8