3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php set_time_limit(20); while ($i<=10) { echo "i=$i "; sleep(1); $i++; }
Output for 5.3.9 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Undefined variable: i in /in/kYcrK on line 5 Notice: Undefined variable: i in /in/kYcrK on line 7 i= Notice: Undefined variable: i in /in/kYcrK on line 9 i=1 i=2
Process exited with code 137.