3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $list = array(-5,0,4,9,4,3,-2,0,1,8); for ($i=0;$i<=9;$i++) { if ($list[$i] >= 4) { echo "this words so far"; } else { echo "nope".$list[$i]; } $list[i } ?>
Output for 5.3.0 - 5.4.21
Parse error: syntax error, unexpected '}', expecting ']' in /in/TA4sK on line 11
Process exited with code 255.