3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(array_slice(shuffle(range(1,1337*1337)),0,1));
Output for 7.0.20, 7.1.5 - 7.1.7
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 67108872 bytes) in /in/AFj70 on line 2
Process exited with code 255.
Output for 5.4.0 - 5.4.32
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 32 bytes) in /in/AFj70 on line 2
Process exited with code 255.

preferences:
70.97 ms | 401 KiB | 42 Q