我有一個數組
$arr=Array
(
[0] = Array
(
[groupid] = 1
[groupname] = Oxy
[members] = Array
(
[0] = Array
(
[id] = 9
[name] => Anith
)
[1] = Array
(
[id] = 12
[name] = sanjay
)
[3] =Array
(
[id] = 13
[name] = Sooraj K
)
)
))
這裏$arr[0]['members'][2]
是unsetted。我想在這裏找到$arr[0]['members']
的最後一個索引,這是我3..how能找到這最後的指數
你說的最後一個索引意味着???你可以添加您的預期輸出 – Baba
我需要在這裏得到答案3 –
它是否可能? –