Re: [RFC] Array unpacking with string keys
| From: | Kalle Sommer Nielsen | Date: | Thu, 07 Jan 2021 21:07:10 +0000 |
| Subject: | Re: [RFC] Array unpacking with string keys | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-112806@lists.php.net to get a copy of this message | ||
Den tor. 7. jan. 2021 kl. 21.19 skrev Larry Garfield <larry@garfieldtech.com>:
> Hard yes. I ran into a case just yesterday (while doing some sample code for immutability)
> when I wanted to merge associative arrays this way and the alternate was much yuckier.
Seconded, I ran into a similar thing yesterday and it took me a bit to
figure out what was going on. This RFC would fix that behavior so big
+1
--
regards,
Kalle Sommer Nielsen
kalle@php.net