Fatal error: Uncaught Error: Undefined constant "MY_CONSTANT" in /in/KdUlF:7
Stack trace:
#0 /in/KdUlF(11): Test->__construct()
#1 {main}
thrown in /in/KdUlF on line 7
Process exited with code 255.
Warning: Use of undefined constant MY_CONSTANT - assumed 'MY_CONSTANT' (this will throw an Error in a future version of PHP) in /in/KdUlF on line 7
string(11) "MY_CONSTANT"
Notice: Use of undefined constant MY_CONSTANT - assumed 'MY_CONSTANT' in /in/KdUlF on line 7
string(11) "MY_CONSTANT"
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/KdUlF on line 3
Process exited with code 255.
Parse error: parse error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/KdUlF on line 3
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/KdUlF on line 3
Process exited with code 255.