3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($f = 0; $f <= 20; $f++) { $i = 0; echo "F".$i." = ".($i+$f)."\n"; $i++; }
based on WqAa0
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
F0 = 0 F0 = 1 F0 = 2 F0 = 3 F0 = 4 F0 = 5 F0 = 6 F0 = 7 F0 = 8 F0 = 9 F0 = 10 F0 = 11 F0 = 12 F0 = 13 F0 = 14 F0 = 15 F0 = 16 F0 = 17 F0 = 18 F0 = 19 F0 = 20
Output for hhvm-3.10.0

Process exited with code 153.