3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(&$a); function fill (&$a, $i = 3) { if (!$i--) return; foreach ($a as &$tmp) { $tmp = array(&$tmp ,&$a); //var_dump($a); fill($tmp, $i); } } fill($a);
Output for 5.3.3, 5.3.8 - 5.3.11, 5.3.14 - 5.4.14

Process exited with code 137.
Output for 5.2.14 - 5.2.17, 5.3.4 - 5.3.7, 5.3.12 - 5.3.13

Process exited with code 143.