- Output for 5.4.0 - 5.4.24
- Fatal error: Cannot use [] for reading in /in/P8diI on line 13
Process exited with code 255. - Output for 5.3.0 - 5.3.28
- Parse error: syntax error, unexpected '[' in /in/P8diI on line 9
Process exited with code 255.
<?php
class A
{
public $f = 56;
}
function f() {
return [new A()];
}
var_dump(isset(f()[]));