Fatal error: Uncaught Error: Undefined constant self::class in /in/ck0rq:7
Stack trace:
#0 /in/ck0rq(7): constant('self::class')
#1 /in/ck0rq(11): Foo::bar()
#2 {main}
thrown in /in/ck0rq on line 7
Process exited with code 255.
Warning: constant(): Couldn't find constant self::class in /in/ck0rq on line 7
NULL
Output for 5.3.0 - 5.3.2
Fatal error: Undefined class constant 'self::class' in /in/ck0rq on line 7
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/ck0rq 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/ck0rq 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/ck0rq on line 5
Process exited with code 255.