On Wed, 5 Aug 2020, Rowan Tommins wrote: > On Wed, 5 Aug 2020 at 13:20, Benjamin Eberlei <kont...@beberlei.de> wrote: > > > It looks nice for a simple attribute like @@Jit, or for a one > > without arguments like the used @@Deprecated, but as soon as there > > are more than one, and they each get arguments, enclosing them has > > its own benefits over them just standing for themselves. > > The confusing thing about this argument is that as soon as they have > arguments, attributes will have an ending delimiter _whatever_ syntax > we choose, because nobody has ever proposed removing the parentheses > around the arguments.
The syntax that would start it (@@) is not the same, or related to the parenthesis that follow the attribut name ( () ). They are not linked, as the ( in () is opening a 'context' and the ) in )) is closing it again. This is not the ending syntax of '@@'. 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