PHP/Math/max
Finding the Greatest and Least Values in a key-value pair
<?php
$clothes = array( "hats" => 75, "coats" => 32, "shoes" => 102,);
uasort($clothes, "evenfirst");
var_export($clothes);
printf("<p>Most items: %d; least items: %d.</p>\n",
max($clothes), min($clothes));
?>