public static function array_first_key(array $arr) { reset($arr); $first_key = key($arr); return $first_key; }