3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($i2 = 1; $i2 < 3; $i2++) for($i3 = $i2; $i3 < 3; $i3++) for($i4 = $i3; $i4 < 3; $i4++) for($i5 = $i4; $i5 < 3; $i5++){$c++;} echo $c;
based on R3HdF
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: c in /in/XiJ0R on line 9 5
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: c in /in/XiJ0R on line 9 5