On 4 November 2014 18:14, Rowan Collins <rowan.coll...@gmail.com> wrote:
>
> If anything, I think I would expect the keys of splatted arrays to be 
> discarded, since it seems most natural to use this in a list context, but I 
> can imagine always having to check in the manual.

I agree on this point. Duplicate keys should not overwrite each other.

[...$foo, ...$bar] should literally unpack the values as if they were
comma delimited and discard all key information.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to