Possible Duplicate:
Get first key in a [possibly] associative array?
I have this array:
Array
(
['foobar'] => Array
(
[key1] => value1
[key2] => value2
)
)
I want to get to name of the first index (foobar). How can I do it?