php's function to convert to lowercase is the strtolower function. The function of this function is to convert a string to lowercase. Its usage syntax is "strtolower(string)", and the parameter string specifies the string to be converted.
The operating environment of this article: windows7 system, PHP7.1 version, DELL G3 computer
What is the function of converting php to lowercase?
strtolower() function converts a string to lowercase.
Note: This function is binary safe.
Related functions:
lcfirst() - Convert the first character in the string to lowercase
strtoupper() - Convert the string to uppercase
ucfirst() - Converts the first character in the string to uppercase
ucwords() - Converts the first character of each word in the string to uppercase
Syntax
strtolower(string)
Parameters
string required. Specifies the string to be converted.
Return value: Returns the string converted to lowercase.
Recommended learning: "PHP Video Tutorial"
The above is the detailed content of What is the function to convert to lowercase in php?. For more information, please follow other related articles on the PHP Chinese website!