Re: [VOTE] Shorter Attribute Syntax Change

From: Date: Wed, 12 Aug 2020 10:05:54 +0000
Subject: Re: [VOTE] Shorter Attribute Syntax Change
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-111486@lists.php.net to get a copy of this message
On 11.08.2020 16:54, Sara Golemon wrote: >> >> https://wiki.php.net/rfc/shorter_attribute_syntax_change#voting > Just chiming in to say all, y'all voting for @[...] are making a terrible > choice, and are you sure you're okay with it? It looks like the community is split, and it might actually be a mistake to implement the feature with any of the options on the table. Maybe we should look for different approaches? Here's one. To not have to use a new keyword I choose to try how "declare" would fit: declare( SomeAttr, AntoherAttr("Hello world") ) class someClass { } -- Aleksander Machniak Kolab Groupware Developer [https://kolab.org] Roundcube Webmail Developer [https://roundcube.net] ---------------------------------------------------- PGP: 19359DC1 # Blog: https://kolabian.wordpress.com

« previous php.internals (#111486) next »