Fatal error: Uncaught Error: Non-static method Foo::bar() cannot be called statically in /in/MQVEQ:9
Stack trace:
#0 {main}
thrown in /in/MQVEQ on line 9
Process exited with code 255.
Deprecated: Non-static method Foo::bar() should not be called statically in /in/MQVEQ on line 9
Fatal error: Uncaught Error: Using $this when not in object context in /in/MQVEQ:5
Stack trace:
#0 /in/MQVEQ(9): Foo::bar()
#1 {main}
thrown in /in/MQVEQ on line 5
Process exited with code 255.
Output for 7.3.32 - 7.3.33, 7.4.26
Fatal error: Uncaught Error: Using $this when not in object context in /in/MQVEQ:5
Stack trace:
#0 /in/MQVEQ(9): Foo::bar()
#1 {main}
thrown in /in/MQVEQ on line 5
Process exited with code 255.
Output for 7.0.0 - 7.0.20
Deprecated: Non-static method Foo::bar() should not be called statically in /in/MQVEQ on line 9
Notice: Undefined variable: this in /in/MQVEQ on line 5
NULL
Output for 5.5.0 - 5.5.35, 5.6.0 - 5.6.28
Strict Standards: Non-static method Foo::bar() should not be called statically in /in/MQVEQ on line 9
Notice: Undefined variable: this in /in/MQVEQ on line 5
NULL