Re: [PHP-DEV] [VOTE] Shorter Attributes Syntax Change
Hi, This vote has now been concluded. The primary vote to re-choose with STV was accepted, with 50 for and 11 against. The STV selection selected the syntax: #[Attr] The full STV run is at https://gist.github.com/3c1f41afbabdeaa0c12753397833db8c Thanks all for participating and voting. The implementation won't make into 8.0.0beta3 as this has already been tagged and build, so the new syntax will be part of PHP 8.0.0RC1, due in 15 days. cheers, Derick -- PHP 7.4 Release Manager Host of PHP Internals News: https://phpinternals.news Like Xdebug? Consider supporting me: https://xdebug.org/support https://derickrethans.nl | https://xdebug.org | https://dram.io twitter: @derickr and @xdebug -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php
Re: [PHP-DEV] [VOTE] Shorter Attributes Syntax Change
Hi Benjamin, Thank you again for putting in the effort to update the RFC and address most of the arguments brought up on list. I would encourage everyone to read through the complete RFC before voting, particularly the sections on BC breaks and forward compatibility pros/cons. Top link: https://wiki.php.net/rfc/shorter_attribute_syntax_change The @{} syntax hasn't had much discussion yet. While I think it is better than @[] and #[] since it doesn't break BC, it still shares the problem of looking like a standalone block, when really attributes are part of a class/function/property/etc. declaration. Now that voters have the complete information, it's up to them to make a final decision. I look forward to putting this issue behind us! Best regards, Theodore -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php
[PHP-DEV] [VOTE] Shorter Attributes Syntax Change
Hello everyone, We have started the vote on "Shorter Attributes Syntax Change" RFC to decide one last time on what syntax to choose for the Attributes feature. https://wiki.php.net/rfc/shorter_attribute_syntax_change#voting The first vote is a vote to say that you have an opinion about attribute syntax. The second vote is an STV vote. In STV you SHOULD rank *all* choices, but don't pick the same one more than once, as that will invalidate your vote. Please see the introduction for multiple arguments on why we should revote. In addition to the table and Syntax Side by Side giving an overview on the differences of each syntax, there is also an extensive discussion of the various arguments below. Thank you to everyone participating in the discussion. The vote ends September 2nd, 12:00 UTC. cheers, Derick and Benjamin