Because I'm weird (and needed a break from what I was doing at work), I came up with this, just wondering how much I could over-complicate it without getting really, really stupid (like putting the results of the for() loop into another array, and then implode()-ing it. 😉 )
function reverseAndCapitalize($input) {
$result = '';
$characters = str_split($input, 1);
for($i = count($characters) -1; $i >= 0; $i--) {
$char = $characters[$i];
$result .= strtoupper($char);
}
return $result;
}