What is the PHP function used to convert a string to lowercase?
To convert a string to lowercase in PHP, you can use the `strtolower()` function. This function takes a string as input and returns a new string with all characters converted to lowercase. This can be useful for standardizing input or output, as well as for case-insensitive comparisons.
$string = "Hello World!";
$lowercaseString = strtolower($string);
echo $lowercaseString;