Definition
The lcfirst() function converts the first character of a string to lowercase.
Syntax
lcfirst(string)
Parameters
Parameter | Description |
---|---|
string |
Required. Specifies the string to convert. |
Example
<?php
echo lcfirst("Hello world!");