Re: [RFC] Spread Operator in Array Expression
| From: | Wes | Date: | Mon, 19 Nov 2018 16:24:27 +0000 |
| Subject: | Re: [RFC] Spread Operator in Array Expression | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-103460@lists.php.net to get a copy of this message | ||
Maybe I wasn't clear enough the first time. If you want to merge two maps,
you use $a + $b. This functionality already exist.
The missing functionality is push / unshift and concat.
(And if you really want it, the previously mentioned "ordered map concat"
behavior)