php-parser
php-parser copied to clipboard
Handle the ::class static keyword as a special case in parser/variable.js
Handle T_Class as a special case when it comes after T_DOUBLE_COLON in recursive_variable_chain_scan
This solves https://github.com/glayzzle/php-parser/issues/1135
$arrayVariable[0]::class;
$classVariable->classProp::class