If I had an array like:

$array['foo'] = 400;
$array['bar'] = 'xyz';

And I wanted to get the first item out of that array without knowing the key for it, how would I do that? Is there a function for this?

16 Answers
16

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *