3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = array(1,2,3): for ($i =0; $i<count($t); $i++) { echo $t[$i]; }
Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.26
Parse error: syntax error, unexpected ':' in /in/i6CbW on line 2
Process exited with code 255.

preferences:
185.36 ms | 1386 KiB | 63 Q