STRTOLOWER(3) 1 STRTOLOWER(3)
strtolower - Make a string lowercase
SYNOPSIS
string strtolower (string $string)
DESCRIPTION
Returns $string with all alphabetic characters converted to lowercase.
Note that 'alphabetic' is determined by the current locale. This means that e.g. in the default "C" locale, characters such as umlaut-A
(A) will not be converted.
PARAMETERS
o $string
- The input string.
RETURN VALUES
Returns the lowercased string.
EXAMPLES
Example #1
strtolower(3) example
<?php
$str = "Mary Had A Little Lamb and She LOVED It So";
$str = strtolower($str);
echo $str; // Prints mary had a little lamb and she loved it so
?>
NOTES
Note
This function is binary-safe.
SEE ALSO
strtoupper(3), ucfirst(3), ucwords(3), mb_strtolower(3).
PHP Documentation Group STRTOLOWER(3)