You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit af5bf68
Browse filesBrowse the repository at this point in the historyBrowse files
Read a global constant name written with asterisks, like PHP_ROUND_*
A name followed by an asterisk with no space in between is now read as a
ConstFetchNode with an empty class name and the pattern as its name, the
way Foo::BAR_* already is for class constants: PHP_ROUND_*, E_*_ERROR,
Foo\BAR_*. Such a PHPDoc was invalid until now, so nothing that parsed
before parses differently. The asterisk has to touch the name, which is
what keeps "@return string *Note:* text" a type followed by a
description.
The grammars tell an asterisk written right after a name apart as
T_NAME_WILDCARD, so that they read the same language.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments