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

This is only part of a thread. view whole thread
  105076
April 4, 2019 15:57 michal.brzuchalski@gmail.com (=?UTF-8?Q?Micha=C5=82_Brzuchalski?=)
Hi CHU Zhaowei,

Where can I find first RFC version? Revisited RFCs AFAIK should be served
under different name.

Personally I liked key preserve behavior. Without it use of spread operator
I array expression would have minor use. But this is my personal feeling
about only.

I think I'm missing something in RFC. Usage in key preserved array
expression is not covered and the RFC doesn't describe how it would behave.

Thanks for the efforts on it

BR,
--
Michał

czw., 4 kwi 2019, 16:15 użytkownik CHU Zhaowei <me@jhdxr.com> napisał:

> 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 > >
  105078
April 4, 2019 16:06 levim@php.net (Levi Morrison)
On Thu, Apr 4, 2019 at 9:58 AM Michał Brzuchalski
brzuchalski@gmail.com> wrote:
> > Hi CHU Zhaowei, > > Where can I find first RFC version? Revisited RFCs AFAIK should be served > under different name.
Look at its history. Using the same URL is fine, as long as author(s) agree..
> Personally I liked key preserve behavior. Without it use of spread operator > I array expression would have minor use. But this is my personal feeling > about only. > > I think I'm missing something in RFC. Usage in key preserved array > expression is not covered and the RFC doesn't describe how it would behave. > > Thanks for the efforts on it