3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = array(); for ($i = 0; $i < 10000; $i++) { $data[md5(uniqid('', true))] = $data; }
Output for 7.3.0 - 7.3.1
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 81920 bytes) in /in/aslEo on line 4
Process exited with code 255.
Output for 7.0.0 - 7.0.14, 7.1.0 - 7.1.25, 7.2.0 - 7.2.4, 7.2.6 - 7.2.13
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 73728 bytes) in /in/aslEo on line 4
Process exited with code 255.
Output for 7.2.5
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 73728 bytes) in /in/aslEo on line 4
Process exited with code 137.
Output for 7.0.20

Process exited with code 137.
Output for 5.4.0 - 5.4.45, 5.5.24 - 5.5.35, 5.6.7 - 5.6.21
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 105 bytes) in /in/aslEo on line 4
Process exited with code 255.
Output for 5.3.7 - 5.3.29
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 104 bytes) in /in/aslEo on line 4
Process exited with code 255.

preferences:
124.33 ms | 401 KiB | 130 Q