Write a PHP function named reverseAndCapitalize that takes a string as input, reverses the characters, and returns the result in uppercase.
Example:
`function reverseAndCapitalize($input) {
// Your code goes here
}
// Test the function
$result = reverseAndCapitalize("Hello, PHP!");
echo $result; // Should print "!P ,OLLEH"
`
Provide a concise and effective PHP code solution. Thank you!