Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Cannot unpack array with string keys

$inner = ["b" => "i", "c" => "i"];
$outer = ["a" => "o", "c" => "o"];

var_dump(array_merge($outer, $inner));
var_dump(array_merge($inner, $outer));
 
PREVIOUS NEXT
Tagged: #Cannot #unpack #array #string #keys
ADD COMMENT
Topic
Name
8+8 =