- Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.16
- Parse error: syntax error, unexpected '}' in /in/Ue6q5 on line 9
Process exited with code 255.
<?php
$functions = [function($a){return $a+1;}];
for ($i=1;$i<100000;$i++) {
$f = $functions[$i-1];
$functions[$i] = function ($a) use ($f) {
return $f($a);
}
}
$functions[$i](1);