1. 循环当前数组,使用函数unset(); 如果想重置索引,可以使用array_values() 函数; 2.使用数组函数,array_splice(array,start,length,array),会重置索引;