3v4l.org

run code in 200+ PHP versions simultaneously
<?php function shutdown() { echo "triggered\n"; } register_shutdown_function( 'shutdown' ); echo "start\n"; glob(); echo "end\n";
based on LaKMB
Output for 4.3.0 - 7.4.6
start Warning: glob() expects at least 1 parameter, 0 given in /in/maBnS on line 11 end triggered