Hello!
>
> Hi internals,
>
> I discussed the syntax for attributes further with Benjamin, Martin,
> and several other internals developers off-list, and with their
> feedback completed an RFC proposing to use the shorter `@@` syntax
> instead of `<<>>` for attributes in PHP 8.

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

Thanks,
Márcio Almada

Reply via email to