$dogs = array('A' => 'AA', 'Bud' => 'BB','C' => 'D');
$pups = array_pad($dogs, 6, 'mutt');
printf("Pups:
%s
\n", var_export($pups, TRUE));
$pups = array_pad($dogs, -6, 'mutt');
printf("Pups:
%s
\n", var_export($pups, TRUE));
printf("Dogs:
%s
\n", var_export($dogs, TRUE));
?>