PHP strtolower() function
Definition and usage
The strtolower() function converts the string to lowercase.
Comment:This function is binary safe.
Related functions:
- lcfirst() - Convert the first letter of the string to lowercase
- strtoupper() - Convert the string to uppercase
- ucfirst() - Convert the first letter of the string to uppercase
- ucwords() - Convert the first letter of each word in the string to uppercase
Syntax
strtolower(string)
Parameter | Description |
---|---|
string | Required. Specify the string to be converted. |
Technical details
Return value: | Return as lowercase string. |
PHP version: | 4+ |