Fatal error: Uncaught Error: Non-static method test::bar() cannot be called statically in /in/L91Hu:10
Stack trace:
#0 {main}
thrown in /in/L91Hu on line 10
Process exited with code 255.
Deprecated: Non-static method test::bar() should not be called statically in /in/L91Hu on line 10
Fatal error: Uncaught Error: Using $this when not in object context in /in/L91Hu:5
Stack trace:
#0 /in/L91Hu(10): test::bar()
#1 {main}
thrown in /in/L91Hu on line 5
Process exited with code 255.
Output for 7.3.32 - 7.3.33
Fatal error: Uncaught Error: Using $this when not in object context in /in/L91Hu:5
Stack trace:
#0 /in/L91Hu(10): test::bar()
#1 {main}
thrown in /in/L91Hu on line 5
Process exited with code 255.
Output for 7.0.0 - 7.0.33
Deprecated: Non-static method test::bar() should not be called statically in /in/L91Hu on line 10
Notice: Undefined variable: this in /in/L91Hu on line 5
Strict Standards: Non-static method test::bar() should not be called statically in /in/L91Hu on line 10
Notice: Undefined variable: this in /in/L91Hu on line 5
Output for 5.0.0 - 5.0.3
Strict Standards: Non-static method test::bar() should not be called statically in /in/L91Hu on line 10
Notice: Undefined variable: this in /in/L91Hu on line 5
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/L91Hu on line 5
Process exited with code 255.
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/L91Hu on line 5
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /in/L91Hu on line 5
Process exited with code 255.