3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 4; for ($b = 0; $b <= $a; $b++) { $c++; } echo $c;
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: c in /in/W1cQj on line 5 5
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: c in /in/W1cQj on line 5 5