PHP Associative arrays example

21, "Edel"=>30, "Dave"=>40); echo "Angharad is " . $age["Angharad"] . " years old.

\n"; echo "

To get the whole array with keys and values....
\n"; foreach ($age as $key => $value) echo $key . " is " . $value . " years old.
\n"; ?>