php-parser icon indicating copy to clipboard operation
php-parser copied to clipboard

Handle the ::class static keyword as a special case in parser/variable.js

Open mreiden opened this issue 1 year ago • 0 comments

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

mreiden avatar Aug 14 '24 21:08 mreiden