[PHP-DEV] Re: [RFC][Discussion] - list() reference syntax

2017-01-30 Thread David Walker
On Wed, Jan 11, 2017 at 8:43 AM David Walker wrote: > [Sorry if this is a second time you get this, but email issues and all] > > Hi All, > > I had mentioned the other day my desire to look at, and attempt > implementation of allowing by-reference assignment within list()'s. Andrea > had created

Re: [PHP-DEV] Re: [RFC][Discussion] - list() reference syntax

2017-01-11 Thread David Walker
On Wed, Jan 11, 2017 at 3:15 PM Andrea Faulds wrote: > Regarding the =& open issue in the RFC, I don't think the =& syntax > makes sense to me. The thing on the right-hand side of a list() > assignment is the array, not its values. It makes no difference for the > purposes of assigning from its v

[PHP-DEV] Re: [RFC][Discussion] - list() reference syntax

2017-01-11 Thread Andrea Faulds
Hi Dave, Regarding the =& open issue in the RFC, I don't think the =& syntax makes sense to me. The thing on the right-hand side of a list() assignment is the array, not its values. It makes no difference for the purposes of assigning from its values if the array is a reference or not, so I'd