Fatal error: Uncaught ValueError: define(): Argument #1 ($constant_name) cannot be a class constant in /in/O5OGU:10
Stack trace:
#0 /in/O5OGU(10): define('Foo::TEST', 'Hello')
#1 {main}
thrown in /in/O5OGU on line 10
Process exited with code 255.
Warning: Class constants cannot be defined or redefined in /in/O5OGU on line 10
Fatal error: Uncaught Error: Undefined class constant 'TEST' in /in/O5OGU:12
Stack trace:
#0 {main}
thrown in /in/O5OGU on line 12
Process exited with code 255.
Warning: Class constants cannot be defined or redefined in /in/O5OGU on line 10
Fatal error: Undefined class constant 'TEST' in /in/O5OGU on line 12
Process exited with code 255.
Fatal error: Undefined class constant 'TEST' in /in/O5OGU on line 12
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/O5OGU 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/O5OGU 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/O5OGU on line 5
Process exited with code 255.