标签: php
我有两个数组
$array1= array([6] = 6 [9] = 9 [60] = 60 ); $array2 = array([01] = 01 [03] = 03 [02] = 0);
我想要这个结果:
$array_new = array([6] = 6 [9] = 9 [60] = 60 [01] = 01 [03] = 03 [02] = 0);
请帮忙
由于
答案 0 :(得分:1)
使用array_merge()功能:
array_merge()
$array_new = array_merge($array1, $array2)