[php-src] PR #14161: Add `zend_get_attribute_object()`
| From: | TimWolla | Date: | Tue, 07 May 2024 07:58:35 +0000 |
| Subject: | [php-src] PR #14161: Add `zend_get_attribute_object()` | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-26061@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/14161
Author: TimWolla
This makes the implementation for
ReflectionAttribute::newInstance() reusable.
------------------
This is related to #11293 where it will come in handy to reliably extract the parameters of the
#[\Deprecated] attribute when named arguments are used.
------------------
Should the addition of zend_get_attribute_object() be mentioned in UPGRADING.INTERNALS?