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

preferences:
195.88 ms | 1395 KiB | 57 Q