array_values() 函數返回一個包含給定數組中全部鍵值的數組,但不保留鍵名。數組
array_values(array)
應用場景A:unset數組中的值會使索引錯誤,這個時候須要從新索引array_values函數