如果要组合数组,则可以选择
Array ( [0] => rubix )
Array ( [0] => limo )
Array ( [0] => icecream )
我需要将此数组转换为以下类型。我该怎么做?例如:
Array ( [0] => rubix [1] => schoolbag [3] => limo [4] => frezzer [5] => paper )
array_merge((。
$array1 = array("id1" => "rubix ");
$array2 = array("id2" => "limo ", "id3" => "icecream ", "id4" => "frezzer ");
$array3 = array_merge($array1, $array2/*, $arrayN, $arrayN*/);