1、使用 unset 函数
2、使用 unset 并未改变数组的原有索引。如果打算重排索引(让索引从0开始,并且连续),可以使用 array_values 函数
1、使用 array_splice 函数
1、使用 array_diff 函数