The printout of the program above will be:
?php $array = array( 0 = 100, "couleur "= "rouge"); array_keys($array); / / retourne array(0, "couleur") $array = array("bleu", "rouge", "vert", "bleu", "bleu"); array_keys($array, "bleu"); / / retourne array(0, 3, 4) $array = array ("couleur" = array("bleu", "rouge", "vert"), "taille "= array("petit", "moyen", "grand")); array_keys($array); / / retourne array("couleur", "taille")?