[php] Get first key in a (possibly) associative array?