← All built-ins / lcfirst()
lcfirst()
lcfirst(string $s): string
Parameters
| Name | Type | Description |
|---|---|---|
| $s | string | input string |
Return value
The string with its first character lowercased.
Example
echo lcfirst("Holy PHP");holy PHP
| Name | Type | Description |
|---|---|---|
| $s | string | input string |
The string with its first character lowercased.
echo lcfirst("Holy PHP");holy PHP