$arr = Array(0,1,2,3,4,6,7,8,9);//定义一个数组for($i=0;$i<10;$i++){ $arr[] = $i;}print_r($arr)//最后$arr变为Array(0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9)