我有一個數組,如下所示,我想在'id'前面的所有值中分隔數組。像:ARRY('12' , '10', '11', '9')php - 從關聯數組中提取1維數組
array
3 =>
array
'occurance' => int 4
'id' => string '12' (length=2)
1 =>
array
'occurance' => int 3
'id' => string '10' (length=2)
2 =>
array
'occurance' => int 2
'id' => string '11' (length=2)
0 =>
array
'occurance' => int 1
'id' => string '9' (length=1)