Convert all characters to lowercase:
<?phpecho strtolower("Hello WORLD.");?>The strtolower() function converts a string to lowercase.
Note: This function is binary safe.
Related functions:
strtoupper() - Convert a string to uppercase
lcfirst() - Converts the first character in a string to lowercase
ucfirst() - Converts the first character in a string to uppercase
ucwords() - Converts the first character of each word in a string to uppercase
strtolower( string )
parameter | describe |
---|---|
string | Required. Specifies the string to be converted. |
Return value: | Returns a string converted to lowercase. |
---|---|
PHP version: | 4+ |