3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(); for ($i = 0, $c = 1000000; ++$i) { $a[] = 1; }
Output for 5.3.0 - 5.3.23, 5.4.0 - 5.4.13
Parse error: syntax error, unexpected ')', expecting ';' in /in/gFZFg on line 4
Process exited with code 255.

preferences:
186.28 ms | 1395 KiB | 45 Q