Fatal error: Uncaught TypeError: bar(): Argument #1 ($bar) must be of type Foo, null given, called in /in/uItC5 on line 9 and defined in /in/uItC5:5
Stack trace:
#0 /in/uItC5(9): bar(NULL)
#1 {main}
thrown in /in/uItC5 on line 5
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 1 passed to bar() must be an instance of Foo, null given, called in /in/uItC5 on line 9 and defined in /in/uItC5:5
Stack trace:
#0 /in/uItC5(9): bar(NULL)
#1 {main}
thrown in /in/uItC5 on line 5
Process exited with code 255.
Output for 5.5.24 - 5.5.35, 5.6.8 - 5.6.28
Catchable fatal error: Argument 1 passed to bar() must be an instance of Foo, null given, called in /in/uItC5 on line 9 and defined in /in/uItC5 on line 5
Process exited with code 255.