3v4l.org

run code in 300+ PHP versions simultaneously
<?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"; } ?>
Output for 5.4.0 - 5.4.21
Parse error: syntax error, unexpected end of file in /in/B3lJI on line 10
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected $end in /in/B3lJI on line 10
Process exited with code 255.

preferences:
170.27 ms | 1399 KiB | 57 Q