Fatal error: Uncaught TypeError: set_error_handler(): Argument #1 ($callback) must be a valid callback or null, class "bar" not found in /in/7Sa0H:10
Stack trace:
#0 /in/7Sa0H(10): set_error_handler(Array)
#1 {main}
thrown in /in/7Sa0H on line 10
Process exited with code 255.
Warning: set_error_handler() expects the argument (bar::too) to be a valid callback in /in/7Sa0H on line 10
X
Notice: Undefined variable: c in /in/7Sa0H on line 7
foo
Output for 7.3.32 - 7.3.33
Warning: set_error_handler() expects the argument (bar::too) to be a valid callback in /in/7Sa0H on line 10
Xfoo
Output for 5.0.0 - 5.0.3
Warning: set_error_handler() expects the argument (bar::too) to be a valid callback in /in/7Sa0H on line 10
X
Notice: Undefined variable: c in /in/7Sa0H on line 7
foo
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9
Warning: set_error_handler() expects argument 1, 'bar::too', to be a valid callback in /in/7Sa0H on line 10
X
Notice: Undefined variable: c in /in/7Sa0H on line 7
foo