时间:2021-07-01 10:21:17 帮助过:11人阅读
$a = array(1,2,3,4);$b = array(5,6,7,8);$c = array();$rest = array_merge($a,$b,$c);print_r($rest);
Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5 [5] => 6 [6] => 7 [7] => 8 )
$a = array(1,2,3,4);$b = array(5,6,7,8);$c = array();$rest = array_merge($a,$b,$c);print_r($rest);
Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5 [5] => 6 [6] => 7 [7] => 8 )