bool(false)
bool(true)
bool(true)
bool(true)
Fatal error: Uncaught TypeError: call_user_func(): Argument #1 ($callback) must be a valid callback, non-static method Foo::baz() cannot be called statically in /in/KADkp:14
Stack trace:
#0 [internal function]: call_user_func('Foo::baz')
#1 /in/KADkp(14): array_map('call_user_func', Array)
#2 {main}
thrown in /in/KADkp on line 14
Process exited with code 255.
bool(true)
bool(true)
bool(true)
bool(true)
Deprecated: call_user_func() expects parameter 1 to be a valid callback, non-static method Foo::baz() should not be called statically in /in/KADkp on line 14
Foo::bazFoo::bar
Deprecated: call_user_func() expects parameter 1 to be a valid callback, non-static method Foo::baz() should not be called statically in /in/KADkp on line 14
Foo::bazFoo::bar
bool(true)
bool(true)
bool(true)
bool(true)
Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method Foo::baz() should not be called statically in /in/KADkp on line 14
Foo::bazFoo::bar
Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method Foo::baz() should not be called statically in /in/KADkp on line 14
Foo::bazFoo::bar
Parse error: syntax error, unexpected '[' in /in/KADkp on line 9
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[' in /in/KADkp on line 9
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/KADkp on line 5
Process exited with code 255.
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/KADkp on line 5
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /in/KADkp on line 5
Process exited with code 255.