$dogs = array('A' => 'C', 'B' => 'D', 'X' => 'Z', 'Q' => 'T'); arsort($dogs); printf("%s\n", var_export($dogs, TRUE)); ?>
%s