Fatal error: Uncaught Error: Non-static method Foo::bar() cannot be called statically in /in/GCATp:10
Stack trace:
#0 {main}
thrown in /in/GCATp on line 10
Process exited with code 255.
Deprecated: Non-static method Foo::bar() should not be called statically in /in/GCATp on line 10
Fatal error: Uncaught Error: Using $this when not in object context in /in/GCATp:6
Stack trace:
#0 /in/GCATp(10): Foo::bar()
#1 {main}
thrown in /in/GCATp on line 6
Process exited with code 255.
Output for 7.0.0 - 7.0.33
Deprecated: Non-static method Foo::bar() should not be called statically in /in/GCATp on line 10
Notice: Undefined variable: this in /in/GCATp on line 6
NULL
Strict Standards: Non-static method Foo::bar() should not be called statically in /in/GCATp on line 10
Notice: Undefined variable: this in /in/GCATp on line 6
NULL