Fatal error: Uncaught Error: Non-static method Foo::bar() cannot be called statically in /in/A9mUE:9
Stack trace:
#0 {main}
thrown in /in/A9mUE on line 9
Process exited with code 255.
Deprecated: Non-static method Foo::bar() should not be called statically in /in/A9mUE on line 9
Fatal error: Uncaught Error: Using $this when not in object context in /in/A9mUE:6
Stack trace:
#0 /in/A9mUE(9): Foo::bar()
#1 {main}
thrown in /in/A9mUE on line 6
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/A9mUE:6
Stack trace:
#0 /in/A9mUE(9): Foo::bar()
#1 {main}
thrown in /in/A9mUE 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/A9mUE on line 9
Notice: Undefined variable: this in /in/A9mUE on line 6
NULL
Strict Standards: Non-static method Foo::bar() should not be called statically in /in/A9mUE on line 9
Notice: Undefined variable: this in /in/A9mUE on line 6
NULL
Output for 5.0.0 - 5.0.3
Strict Standards: Non-static method Foo::bar() should not be called statically in /in/A9mUE on line 9
Notice: Undefined variable: this in /in/A9mUE on line 6
NULL
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9
Notice: Undefined variable: this in /in/A9mUE on line 6
NULL