Re: [RFC] Spread Operator in Array Expression v0.2

From: Date: Thu, 04 Apr 2019 16:40:27 +0000
Subject: Re: [RFC] Spread Operator in Array Expression v0.2
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-105082@lists.php.net to get a copy of this message
> On 4 Apr 2019, at 21:14, CHU Zhaowei <me@jhdxr.com> wrote: > > Hi internals, > > Thanks for the people who joined the discussion of my [RFC: Spread Operator in Array > Expression](https://wiki.php.net/rfc/spread_operator_for_array). The biggest change is I have > dropped the support for string keys in v0.2 as suggested by Côme, to make the behavior of spread > operator consistent. I have also added Q&A to explain the questions I received. > > Thanks & best regards, > CHU Zhaowei > > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > Can you clarify what “not supported” means in reference to string keys? What will happen if an array with string keys is used? Does it error/warn, and/or are the keys ignored or skipped?

« previous php.internals (#105082) next »