The lcfirst() function is used for the first character of a string to lowercase.
lcfirst ( string $string ) : string
| Parameter Name | Descrption | 
|---|---|
| $string | Required, The input string. | 
Returns the converted string.
$string = 'test string'; $string = lcfirst($string); echo $string;//test string $string = 'TEST STRING'; $string = lcfirst($string); echo $string; //tEST STRING
Related Functions