3v4l.org

run code in 200+ PHP versions simultaneously
<?php function shutdown() { echo "triggered\n"; } register_shutdown_function( 'shutdown' ); echo "start\n"; bla(); echo "end\n";
based on maBnS
Output for 7.0.33 - 7.4.0
start Fatal error: Uncaught Error: Call to undefined function bla() in /in/eaLnk:11 Stack trace: #0 {main} thrown in /in/eaLnk on line 11 triggered
Process exited with code 255.
Output for 5.6.38
start Fatal error: Call to undefined function bla() in /in/eaLnk on line 11 triggered
Process exited with code 255.