What is the PHP function used to reverse a string?

To reverse a string in PHP, you can use the `strrev()` function. This function takes a string as input and returns the reversed version of that string. It is a simple and efficient way to reverse a string in PHP.

$string = "Hello, World!";
$reversedString = strrev($string);
echo $reversedString; // Output: "!dlroW ,olleH"