Fatal error: Uncaught TypeError: call_user_func(): Argument #1 ($callback) must be a valid callback, non-static method foo::bar() cannot be called statically in /in/8REtZ:10
Stack trace:
#0 {main}
thrown in /in/8REtZ on line 10
Process exited with code 255.
Output for 8.0.0 - 8.0.9
Fatal error: Uncaught TypeError: call_user_func(): Argument #1 ($function) must be a valid callback, non-static method foo::bar() cannot be called statically in /in/8REtZ:10
Stack trace:
#0 {main}
thrown in /in/8REtZ on line 10
Process exited with code 255.
Strict Standards: call_user_func() expects parameter 1 to be a valid callback, non-static method foo::bar() should not be called statically in /in/8REtZ on line 10
baz
Warning: call_user_func(foo::bar): First argument is expected to be a valid callback in /in/8REtZ on line 10
Output for 4.3.0 - 4.3.1
Warning: call_user_func(foo::bar) [http://www.php.net/function.call-user-func]: First argument is expected to be a valid callback in /in/8REtZ on line 10