3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = array(); for ($i = 0; $i < 1000; $i++) { $data[md5(uniqid(microtime(true), true))] = $data; }
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 7.0.0 - 7.0.20, 7.1.0 - 7.1.25, 7.2.0 - 7.2.13, 7.3.0 - 7.3.1
Output for 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.28
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 105 bytes) in /in/O2H9j on line 4
Process exited with code 255.

preferences:
146.7 ms | 402 KiB | 234 Q