摘要: 并集 array_merge 字符串键名相同,后面覆盖前面,数字键名会在后面追加,不覆盖,参考代码如下 $array1 = array("color" => "red", 2, 4); $array2 = array("a", "b", "color" => "green", "shape" => 阅读全文
posted @ 2020-08-26 10:32 whyly 阅读(5930) 评论(0) 推荐(0) 编辑