Your Ad Here
String Function
Execute String Function Online
String Functions Online Tool

Php String to Lowercase Tutorial

 

strtolowercase() - String to Lowercase Tutorial

strtolowercase() converts a sting to lowercase

string strtolower ( string $str )

The $str parameter is a string.
It returns a string with lowercased characters.

 

Php String to Lowercase Example

Example: Let's convert the string "HeLLo WoRlD!" to lowercase

$string = "HeLLo WoRlD!";
$string_to_lowercase = strtolower($string);
echo $string_to_lowercase;

The string-to-lowercase function returns the value "hello world!"

Test it online using our String-to-Lowercase Tool