Re: [VOTE] Shorter Attribute Syntax Change
| From: | Peter Bowyer | Date: | Mon, 10 Aug 2020 14:41:37 +0000 |
| Subject: | Re: [VOTE] Shorter Attribute Syntax Change | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-111439@lists.php.net to get a copy of this message | ||
On Mon, 10 Aug 2020 at 14:59, Derick Rethans <derick@php.net> wrote:
> I did answer that as a reply to Rowan:
>
> https://externals.io/message/111312#111346
I'm with Rowan's response to you: https://externals.io/message/111312#111354
What is the difference between mandatory parentheses giving:
<<symbol>><<attribute-name>>(
<<symbol>><<attribute-name2>>(<<arg1>>),
42
)
and:
<<symbol>>[<<attribute-name>>(
<<symbol>>[<<attribute-name2>>(<<arg1>>)],
42
)]
in terms of parsing, use etc.
Peter