Fatal error: Uncaught TypeError: call_user_func(): Argument #1 ($callback) must be a valid callback, class foo does not have a method "bar()" in /in/vfmLv:10
Stack trace:
#0 {main}
thrown in /in/vfmLv 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, class foo does not have a method "bar()" in /in/vfmLv:10
Stack trace:
#0 {main}
thrown in /in/vfmLv on line 10
Process exited with code 255.
Warning: call_user_func(foo::bar()): First argument is expected to be a valid callback in /in/vfmLv 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/vfmLv on line 10