3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo 'Hello World'; $arr = array(1, 2, 3, 4); for($i=0;$i<count($arr);{ $i++ ; $pos = $i }) { var_dump($pos); } ?>
Output for 5.3.0 - 5.4.15
Parse error: syntax error, unexpected '{', expecting ')' in /in/rspcM on line 5
Process exited with code 255.