key

(PHP 3, PHP 4 )

key -- Retourne une clé d'un tableau associatif

Description

mixed key (array array)

key() retourne l'index de la clé courante dans un tableau.

Voir aussi: current(), et next()