how to convert string to lowercase php code example
Example 1: tolower php
The strtolower() function is used to convert a string into lowercase. This function takes a string as parameter and converts all the uppercase english alphabets present in the string to lowercase.
Example 2: how to convert string word to lowercase in php
strtolower ( string $string ) : string
$string = 'HELLO WORLD';
echo strtolower($string);
The strtolower() function is used to convert a string into lowercase. This function takes a string as parameter and converts all the uppercase english alphabets present in the string to lowercase.