PHP lcfirst Function
What is lcfirst Function?
Explanation
In PHP, this function is used to make a string's first character to lowercase.
Syntax:
lcfirst(str)
In the above syntax "str" specifies the string whose first character is to be converted into lowercase.
Example :
<?php
$str = "Hiox India!";
echo lcfirst($str);
?>
Result :
hiox India!
NOTE:
The lcfirst() function works only in PHP >5.3 only.
In the above example the first letter "H" is converted to lowercase and displayed as "hiox India".