3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(&$a); while (1) { foreach ($a as &$tmp) { $tmp = array($tmp, &$a); } }
Output for 5.4.0 - 5.4.45

Process exited with code 139.
Output for 5.3.0 - 5.3.28
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 71 bytes) in /in/X7BYb on line 5
Process exited with code 255.