- Output for 8.1.23 - 8.1.28, 8.2.10 - 8.2.18, 8.3.0 - 8.3.6
- string(14) "__CLASS__: Foo" string(16) "self::class: Foo" string(18) "static::class: Foo" string(16) "self::foo(): Foo"
- Output for 5.4.0 - 5.4.30
- Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /in/809Ul on line 9
Process exited with code 255. - Output for 5.3.0 - 5.3.28
- Parse error: syntax error, unexpected T_STRING in /in/809Ul on line 3
Process exited with code 255.