Re: [VOTE] Shorter Attribute Syntax Change

From: Date: Tue, 11 Aug 2020 13:14:46 +0000
Subject: Re: [VOTE] Shorter Attribute Syntax Change
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-111463@lists.php.net to get a copy of this message
On Mon, 10 Aug 2020 at 15:41, Peter Bowyer <phpmailinglists@gmail.com> wrote: > > > 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 > Anyone? Why is the discussion fixated on [] rather than ()? Peter

« previous php.internals (#111463) next »