Re: [RFC] Shorter attribute syntax
| From: | Jordi Boggiano | Date: | Thu, 04 Jun 2020 11:55:16 +0000 |
| Subject: | Re: [RFC] Shorter attribute syntax | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-110367@lists.php.net to get a copy of this message | ||
Hey,
On 04/06/2020 01:54, Theodore Brown wrote:
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 shorterThanks for the write-up. I didn't feel strongly either way before but after reading the RFC I am hoping it passes. Another fringe benefit is the ability to grep for attributes, @@ does not occur anywhere in a couple projects I checked, while << does occur both as the << operator and heredocs/nowdocs. My fellow grumpy-old-non-IDE-users might find this a valid argument too :) Best, Jordi -- Jordi Boggiano @seldaek - https://seld.be@@syntax instead of<<>>for attributes in PHP 8. https://wiki.php.net/rfc/shorter_attribute_syntax