Hi internals,
Voting is now open for this RFC.
- RFC: https://wiki.php.net/rfc/reflectionattribute-getcurrent
- Discussion thread: https://news-web.php.net/php.internals/130766
Voting will end 2026-06-26 at end-of-day UTC.
-Daniel
Hi internals,
Voting is now open for this RFC.
Voting will end 2026-06-26 at end-of-day UTC.
-Daniel
On Fri, Jun 12, 2026, at 11:04 AM, Daniel Scherzer wrote:
Hi internals,
Voting is now open for this RFC.
* RFC: PHP: rfc:reflectionattribute-getcurrent
* Discussion thread: php.internals: [RFC] [Discussion] Add ReflectionAttribute::getCurrent()Voting will end 2026-06-26 at end-of-day UTC.
-Daniel
For those voting No on this, would you accept the "automatic setter injection interface" alternative? (That would still work for the original goal of the RFC.)
--Larry Garfield
Yes, it would still be a terrible API, but it wouldn’t suffer from the static/irreplaceable nature of this RFC
Am 12.06.2026, 18:35:34 schrieb Larry Garfield <larry@garfieldtech.com>:
On Fri, Jun 12, 2026, at 11:04 AM, Daniel Scherzer wrote:
Hi internals,
Voting is now open for this RFC.
- Discussion thread: https://news-web.php.net/php.internals/130766
Voting will end 2026-06-26 at end-of-day UTC.
-Daniel
For those voting No on this, would you accept the “automatic setter injection interface” alternative? (That would still work for the original goal of the RFC.)
–Larry Garfield
I would vote yes on interface + setter injection during newInstance.