Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:105088 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 15825 invoked from network); 5 Apr 2019 09:13:22 -0000 Received: from unknown (HELO smtpbgsg2.qq.com) (54.254.200.128) by pb1.pair.com with SMTP; 5 Apr 2019 09:13:22 -0000 X-QQ-mid:Yeas15t1554444542t640t19678 Received: from 90373548D78A4F9A84016F99F658592A (me@jhdxr.com [155.69.203.163]) X-QQ-SSF:00000000000000F0F61000000000000 To: "'Stephen Reay'" Cc: "'PHP internals'" References: <003a01d4eaf0$c17d6c20$44784460$@jhdxr.com> In-Reply-To: Date: Fri, 5 Apr 2019 14:08:58 +0800 Message-ID: <00a301d4eb76$0ed47560$2c7d6020$@jhdxr.com> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Content-Language: en-us Thread-Index: AQIKWL9sdr8zqvFBmN46rJnDR+4gNwDNUdUopbubYMA= X-QQ-SENDSIZE: 520 Feedback-ID: Yeas:jhdxr.com:qybgforeign:qybgforeign1 X-QQ-Bgrelay: 1 Subject: RE: [PHP-DEV] [RFC] Spread Operator in Array Expression v0.2 From: me@jhdxr.com (=?utf-8?b?Q0hVIFpoYW93ZWk=?=) A recoverable error will be thrown once a string key is encountered. = Thanks for raising this question, and I've updated the RFC accordingly. -----Original Message----- From: Stephen Reay =20 Sent: Friday, April 5, 2019 12:40 AM To: CHU Zhaowei Cc: PHP internals Subject: Re: [PHP-DEV] [RFC] Spread Operator in Array Expression v0.2 > On 4 Apr 2019, at 21:14, CHU Zhaowei wrote: >=20 > Hi internals, >=20 > 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=C3=B4me, to make the behavior of spread operator = consistent. I have also added Q&A to explain the questions I received. >=20 > Thanks & best regards, > CHU Zhaowei >=20 >=20 >=20 >=20 > -- > PHP Internals - PHP Runtime Development Mailing List To unsubscribe,=20 > visit: http://www.php.net/unsub.php >=20 Can you clarify what =E2=80=9Cnot supported=E2=80=9D 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?=20 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, = visit: http://www.php.net/unsub.php =20