Hello World
Fatal error: Uncaught Error: Non-static method Foo::bar() cannot be called statically in /in/TvcmB:15
Stack trace:
#0 {main}
thrown in /in/TvcmB on line 15
Process exited with code 255.
Hello World
Deprecated: Non-static method Foo::bar() should not be called statically in /in/TvcmB on line 15
Hello World
Deprecated: Non-static method Foo::bar() should not be called statically in /in/TvcmB on line 18
Hello World
int(3)