3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(0); $arr = array(); for ($i = 0; $i < 1000000; $i++) { $arr[$i] = $i; } foreach ($arr as $k=>$v) { $arr[$k][$k] = $v; }
based on 3u6Ct
Output for 5.2.1 - 5.6.21, 7.0.0 - 7.1.0

Process exited with code 255.
Output for 4.3.0 - 5.2.0, hhvm-3.12.0
Output for hhvm-3.10.0

Process exited with code 153.