3v4l.org

run code in 300+ PHP versions simultaneously
<?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.3.24, 5.4.0 - 5.4.14, 7.0.20, 7.1.5 - 7.1.20, 7.2.0 - 7.2.33, 7.3.12 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6

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

Process exited with code 143.

preferences:
148.04 ms | 402 KiB | 185 Q