3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = time(); register_shutdown_function(function() use ($start){ sleep(2); printf("we are still running, for about %s seconds.", time()-$start); }); set_time_limit(1); sleep(2); echo "this will trigger the timeout";

preferences:
34.71 ms | 402 KiB | 5 Q