Bar: static_bar_var
Warning: Undefined variable $static_var_1 in /in/RponS on line 24
Bar: {static::}
Fatal error: Uncaught Error: Non-static method bar::printItem() cannot be called statically in /in/RponS:34
Stack trace:
#0 {main}
thrown in /in/RponS on line 34
Process exited with code 255.
Bar: static_bar_var
Notice: Undefined variable: static_var_1 in /in/RponS on line 24
Bar: {static::}
Deprecated: Non-static method bar::printItem() should not be called statically in /in/RponS on line 34
Fatal error: Uncaught Error: Using $this when not in object context in /in/RponS:27
Stack trace:
#0 /in/RponS(34): bar::printItem()
#1 {main}
thrown in /in/RponS on line 27
Process exited with code 255.
Output for 7.3.32 - 7.3.33
Bar: static_bar_var
Bar: {static::}
Fatal error: Uncaught Error: Using $this when not in object context in /in/RponS:27
Stack trace:
#0 /in/RponS(34): bar::printItem()
#1 {main}
thrown in /in/RponS on line 27
Process exited with code 255.
Bar: static_bar_var
Notice: Undefined variable: static_var_1 in /in/RponS on line 24
Bar: {static::}
Strict Standards: Non-static method bar::printItem() should not be called statically in /in/RponS on line 34
Fatal error: Using $this when not in object context in /in/RponS on line 27
Process exited with code 255.
Output for 5.1.0 - 5.1.6, 5.2.0 - 5.2.17
Parse error: syntax error, unexpected T_STATIC in /in/RponS on line 22
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_STATIC in /in/RponS on line 22
Process exited with code 255.
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/RponS 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/RponS 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/RponS on line 5
Process exited with code 255.