[php-src] PR #20896: zend_language_parser: Backup / restore doc comment when parsing attributes
| From: | TimWolla | Date: | Sat, 10 Jan 2026 14:44:46 +0000 |
| Subject: | [php-src] PR #20896: zend_language_parser: Backup / restore doc comment when parsing attributes | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-34502@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/20896
Author: TimWolla
Attributes may themselves contain elements which can have a doc comment on their own (namely
Closures). A doc comment before the attribute list is generally understood as belonging to the
symbol having the attributes.
Fixes php/php-src#20895.