Deprecated: Calling get_class() without arguments is deprecated in /in/UEr2i on line 5
string(3) "Foo"
Fatal error: Uncaught TypeError: get_class(): Argument #1 ($object) must be of type object, null given in /in/UEr2i:6
Stack trace:
#0 /in/UEr2i(10): Foo->__construct()
#1 {main}
thrown in /in/UEr2i on line 6
Process exited with code 255.
string(3) "Foo"
Fatal error: Uncaught TypeError: get_class(): Argument #1 ($object) must be of type object, null given in /in/UEr2i:6
Stack trace:
#0 /in/UEr2i(10): Foo->__construct()
#1 {main}
thrown in /in/UEr2i on line 6
Process exited with code 255.