Fatal error: Uncaught TypeError: foo(): Argument #1 ($foo) must be of type Foo, null given, called in /in/lr9GN on line 7 and defined in /in/lr9GN:5
Stack trace:
#0 /in/lr9GN(7): foo(NULL)
#1 {main}
thrown in /in/lr9GN on line 5
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 1 passed to foo() must be an instance of Foo, null given, called in /in/lr9GN on line 7 and defined in /in/lr9GN:5
Stack trace:
#0 /in/lr9GN(7): foo(NULL)
#1 {main}
thrown in /in/lr9GN on line 5
Process exited with code 255.
Catchable fatal error: Argument 1 passed to foo() must be an instance of Foo, null given, called in /in/lr9GN on line 7 and defined in /in/lr9GN on line 5
Process exited with code 255.
Output for 5.1.0 - 5.1.6
Fatal error: Argument 1 passed to foo() must not be null, called in /in/lr9GN on line 7 and defined in /in/lr9GN on line 5
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Fatal error: Argument 1 must not be null in /in/lr9GN on line 5
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting ')' in /in/lr9GN on line 5
Process exited with code 255.