- Output for 5.5.24 - 5.5.30, 5.6.8 - 5.6.15
- Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /in/RgVT0 on line 4
Process exited with code 255.
<?php
class Foo {}
$foo = new Foo;
var_dump($foo::class);