3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($i2 = 1; $i2 < 4; $i2++) for($i3 = $i2; $i3 < 4; $i3++) for($i4 = $i3; $i4 < 4; $i4++){$c++;} echo $c;
based on 78GfH
Output for 5.0.4 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Undefined variable: c in /in/jLRYj on line 8 10
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: c in /in/jLRYj on line 8 10