> 
> The reason why this has been deferred is because of which semantics should
> be used for duplicate string keys.
> 
> Do we use the addition between two arrays semantics or the array_merge()
> semantics? See: https://3v4l.org/7QbWv
> 
> As the previous RFC you linked initially wanted to use the array_merge()
> semantics. But due to contention was left out.
> 
> Best regards,
> 
> George P. Banyard

Does the loose interpretation of an array also play into this??

[“string” => true, 10 => false]

Another new-to-internals questions, does the check only look at if the keys 
contain one that is a string, that they’re all integers (not float), that 
they’re all sequential??

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

Reply via email to