3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr=array(); for ($i=0;$i<=999999;$i++) { $arr[]=uniqid(); } foreach ($arr as $cur) { $arr1[]=$cur; } ?>
Output for 7.2.0
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 4096 bytes) in /in/Y5QBe on line 5
Process exited with code 255.
Output for 5.0.0 - 7.1.7

Process exited with code 137.