3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $max_time = 10; $scriptstart = microtime(true); $used_time = microtime(true) - $scriptstart; sleep($max_time); if ($used_time > $max_time) { var_dump("time is running out... $usedtime"); }
based on nN1fs
Output for 5.3.9 - 7.2.6

Process exited with code 137.