$languages = array();
$languages[] = 'German';
$languages[] = 'French';
$languages[] = 'Spanish';
printf("Languages: %s.
\n", implode(', ', $languages));
?>
$languages = array();
array_push($languages, 'German', 'French', 'Spanish');
printf("Languages: %s.
\n", implode(', ', $languages));
?>