Fatal error: Uncaught ValueError: define(): Argument #1 ($constant_name) cannot be a class constant in /in/n3fNF:8
Stack trace:
#0 /in/n3fNF(8): define('self::TEST', 'Hello')
#1 {main}
thrown in /in/n3fNF on line 8
Process exited with code 255.
Warning: Class constants cannot be defined or redefined in /in/n3fNF on line 8
Fatal error: Uncaught Error: Undefined class constant 'TEST' in /in/n3fNF:9
Stack trace:
#0 {main}
thrown in /in/n3fNF on line 9
Process exited with code 255.
Warning: Class constants cannot be defined or redefined in /in/n3fNF on line 8
Fatal error: Undefined class constant 'TEST' in /in/n3fNF on line 9
Process exited with code 255.
Output for 5.2.10 - 5.2.12, 5.3.0 - 5.3.1
Warning: Class 'self' does not exist in /in/n3fNF on line 8
Fatal error: Undefined class constant 'TEST' in /in/n3fNF on line 9
Process exited with code 255.