3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $i = -5; for ($j = 0, $i = -5; $j < 30; $j++) { $i---$i---$i---$i---$i---$i; echo $i . "\n"; }
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
-10 -15 -20 -25 -30 -35 -40 -45 -50 -55 -60 -65 -70 -75 -80 -85 -90 -95 -100 -105 -110 -115 -120 -125 -130 -135 -140 -145 -150 -155
Output for hhvm-3.10.0

Process exited with code 153.