Home >Backend Development >PHP Problem >How to convert uppercase letters to lowercase letters in php
The strtolower() function can be used in php to convert all uppercase letters to lowercase letters.
strtolower() function converts a string to lowercase.
Note: This function is binary safe.
Syntax: strtolower(string)
Parameters: string Required. Specifies the string to be converted.
Example:
<!DOCTYPE html> <html> <body> <?php echo strtolower("Hello WORLD."); ?> </body> </html>
The running results are as follows:
Please pay attention to more PHP related tutorials php Chinese website
The above is the detailed content of How to convert uppercase letters to lowercase letters in php. For more information, please follow other related articles on the PHP Chinese website!