3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function w() { sleep(1); } for ($i=0;$i<5;$i++) { echo date('H:i:s') . PHP_EOL; w(); }
based on a5OSJ
Output for 5.5.0 - 5.6.4, 5.6.6 - 7.2.0
09:22:39 09:22:40 09:22:41
Process exited with code 137.
Output for 5.6.5
09:22:39 09:22:40
Process exited with code 137.