About The strtolower() PHP Function
Basically strtolower() is a PHP function and help us to convert a string into the lowercase, you can easily convert any string into the lowercase using this strtolower() PHP function as well.
strtolower() function working on major PHP version, supported PHP version PHP 4, PHP 5, PHP 7, PHP 8 and Up.
Parameters
strtolower() function required one(1) parameters to perform the action.
the input parameter is $string what kind of string you want to convert into lowercase.
if you input uppercase string into the strtolower() function and it will return the lowercase string.
Please Note That 'alphabetic' is determined by the current locale. This means that e.g. in the default "C" locale, characters such as umlaut-A (Ä) will not be converted.
strtolower() Code Example:
<?php $string = "THIS IS THE Example Text For Converting Into The Lowercase!"; $string = strtolower($string); echo $string; // output: this is the example text for converting into the lowercase! ?>