3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $var=23; $mod=1; for ($i=1; $i<6;$i++){ $var=$var+$i; $mod=$mod+1; echo $mod } ?>
Output for 5.3.0 - 5.4.11
Parse error: syntax error, unexpected '}', expecting ',' or ';' in /in/l7IOf on line 8
Process exited with code 255.