php對二維索引數組進行重新排序

這有個二維索引數組: $time_json = file_get_contents('./time.json'); $time_arr = json_decode($time_json,true); unset($time_arr[1]); print_r($time_arr);die; 想讓該二維數組索引進行重新排序,該怎麼辦呢? array_values完美解決這一問題: $time_j
相關文章
相關標籤/搜索