- Output for 7.1.25 - 7.1.32, 7.2.0 - 7.2.23, 7.3.0 - 7.3.10
- Parse error: syntax error, unexpected '(', expecting variable (T_VARIABLE) or '{' or '$' in /in/JR1Pn on line 9
Process exited with code 255.
<?php
class Test {
const NAME = self::class;
public function test()
{
new $(static::NAME)();
}
}