certo... puoi usare array_keys che restituisce l'array contenente le chiavi e poi ci fai quello che vuoi...