"nunes", "prenom" => "Jean-Claude", "age" => 18, "addresse" => "35400 Saint-Malo", "profession" => "Java", ); echo "

FOR :

"; for ($i = 0; $i < count($tableau); $i++) { print(array_keys($tableau)[$i] . ": "); echo $tableau[array_keys($tableau)[$i]] . "
"; } echo "

PRINT_R :

"; print_r($tableau); echo "

FOREACH :

"; foreach ($tableau as $key => $value) { echo "$key: $value
"; }