On Thu, June 4, 2020 at 3:28 PM Marcio Almada <marcio.w...@gmail.com> wrote:
> I'd also prefer any attribute syntax without the bracket-like pair > of tokens. I'm just a bit confused about the RFC itself and the PR > content at this point. > > The RFC is currently proposing `@@MyAttribute()` and the PR > is currently implementing `@:MyAttribute()` as the sigil. The first > brings a BC break and the second doesn't, being the important > difference. > > I'm inclined to `@:` instead of `@@`. Which one will actually be > on the ballot? :D Hi Marcio, `@@` is the syntax that will be voted on. The linked PR is for the original `@:` implementation, but as the RFC notes switching this to `@@` just requires a single character to be changed in the lexer and a small grammar adjustment. If the proposal is accepted we'll submit a new PR with the updated implementation. Apologies for the confusion! Theodore -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php