Code Snippets Php

$women = array ("Jenny", "Cindy", "Jessica", "Irene");
rsort ($women);
reset ($women);
while (list ($key, $val) = each ($women)) {
echo "$key -> $val\n";
}
?>