这是我的数组,我有一些行unset
:
array (size=3)
1 =>
array (size=4)
'pid' => string '915' (length=3)
'size' => string '2' (length=1)
'count' => int 11
'fee' => string '5500' (length=4)
4 =>
array (size=4)
'pid' => string '914' (length=3)
'size' => string '1' (length=1)
'count' => int 8
'fee' => string '1500' (length=4)
6 =>
array (size=4)
'pid' => string '913' (length=3)
'size' => string '2' (length=1)
'count' => int 5
'fee' => string '3200' (length=4)
如何将数组索引从0排序到2?