3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = range(0,100000000); array_unshift($a, 999);

Abusive script

This script was stopped while abusing our resources

Output for 5.3.4 - 5.4.21
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 32 bytes) in /in/KfHrj on line 2
Process exited with code 255.
Output for 5.2.15 - 5.2.17
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 71 bytes) in /in/KfHrj on line 2
Process exited with code 255.