Re: List of attributes
| From: | Derick Rethans | Date: | Sun, 27 Sep 2020 22:42:11 +0000 |
| Subject: | Re: List of attributes | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-111939@lists.php.net to get a copy of this message | ||
On 27 September 2020 09:22:48 BST, Nicolas Grekas <nicolas.grekas@gmail.com> wrote:
>Hi Benjamin, hi everyone
>
>I'm wondering if the syntax that allows for several attributes is
>really
>future-proof when considering nested attributes:
>
>
>*1.*
>#[foo]
>#[bar]
>
>VS
>
>
>*2.*
>#[foo, bar]
<snip>
>Shouldn't we remove syntax 2. in 8.0 and consider it again when nested
>attributes are introduced?
No. You're about 2 months too late for that.
I'm also not in favour of nested attributes.
cheers,
Derick