- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.23
- Parse error: syntax error, unexpected '[', expecting '(' in /in/P014J on line 6
Process exited with code 255.
<?php
class testing {
public function test ($varr = false, &$array = array()){
if (count($array) > 2)
return 1;
array[] = $this->test();
return 100;
}
}
$testme = new testing();
var_dump($testme->test());
var_dump($testme->test(true));