Re: [RFC] Amendments to Attributes

From: Date: Wed, 20 May 2020 17:36:59 +0000
Subject: Re: [RFC] Amendments to Attributes
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-110218@lists.php.net to get a copy of this message
Hey Benjamin, <http://ocramius.github.com/> On Wed, May 20, 2020 at 7:08 PM Benjamin Eberlei <kontakt@beberlei.de> wrote: > Hi everyone, > > the Attributes RFC was rather large already, so a few things were left open > or discussions during the vote have made us rethink a things. > > https://wiki.php.net/rfc/attribute_amendments > > These points are handled by the Amendments RFC to Attributes: > > 1. Proposing to add a grouped syntax <<Attr1, Attr2> > 2. Rename PhpAttribute to Attribute in global namespace (independent of the > namespace RFC) > 3. Add validation of attribute class targets, which internal attributes can > do, but userland can't > 4. Specification if an attribute is repeatable or not on the same > declaration and fail otherwise. > > Each of them is a rather small issue, so I hope its ok to aggregate all > four of them in a single RFC. Please let me know if it's not. > Do you hope to get nested attributes to 8.0, or is it something you'd prefer to happen at a later time? Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/

« previous php.internals (#110218) next »