- Output for 5.3.0 - 5.3.27, 5.4.0 - 5.4.22
- Parse error: syntax error, unexpected '{', expecting '(' in /in/6kB7Z on line 5
Process exited with code 255.
<?php
class A {
static function b {
return 'soy b static';
}
function a() {
return 'soy a';
}
}
print (new a)->a();
print call_user_func([new a, 'a']);
print call_user_func_array(new a, 'a');