Fatal error: Uncaught TypeError: derp(): Argument #1 ($foo) must be of type Foo, null given, called in /in/cZYlA on line 8 and defined in /in/cZYlA:4
Stack trace:
#0 /in/cZYlA(8): derp(NULL)
#1 {main}
thrown in /in/cZYlA on line 4
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 1 passed to derp() must be an instance of Foo, null given, called in /in/cZYlA on line 8 and defined in /in/cZYlA:4
Stack trace:
#0 /in/cZYlA(8): derp(NULL)
#1 {main}
thrown in /in/cZYlA on line 4
Process exited with code 255.
Catchable fatal error: Argument 1 passed to derp() must be an instance of Foo, null given, called in /in/cZYlA on line 8 and defined in /in/cZYlA on line 4
Process exited with code 255.