3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php set_time_limit(20); $i = 0; while ($i<=10) { echo "i=$i "; sleep(1); $i++; }
based on kYcrK
Output for 5.3.9 - 5.3.29, 5.4.1 - 7.1.0
i=0 i=1 i=2
Process exited with code 137.
Output for 5.4.0
i=0 i=1
Process exited with code 137.