3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $i = 1; $n = 2; for($f = 0; $f <= 20; $f++) { echo "F".$f." = ".intval((($f-$i)+($f-$n)))."\n"; $i++; $n++; }
based on TQXCX
Output for 4.3.0 - 7.1.0
F0 = -3 F1 = -3 F2 = -3 F3 = -3 F4 = -3 F5 = -3 F6 = -3 F7 = -3 F8 = -3 F9 = -3 F10 = -3 F11 = -3 F12 = -3 F13 = -3 F14 = -3 F15 = -3 F16 = -3 F17 = -3 F18 = -3 F19 = -3 F20 = -3