3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(); for($i=0; $i < 10000) { $a[] = "10"; }
Output for 5.3.0 - 5.3.19, 5.4.0 - 5.4.9
Parse error: syntax error, unexpected ')', expecting ';' in S1HNJ on line 5
Process exited with code 255.

preferences:
181.04 ms | 1395 KiB | 37 Q