$countries_languages = array('Germany' => 'German', 'France' => 'French', 'Spain' => 'Spanish');
printf("Languages: %s.
\n",
implode(', ', array_values($countries_languages)) );
printf("Countries: %s.
\n",
implode(', ', array_keys($countries_languages)) );
?>