Convert the first character of "Hello" to lowercase:
<?php
echo lcfirst("Hello world!");
?>
Try it Yourself »
The lcfirst() function converts the first character of a string to lowercase.
Related functions:
lcfirst(
string)
Parameter | Description |
---|---|
string | Required. Specifies the string to convert |
Return Value: | Returns the converted string |
---|---|
PHP Version: | 5.3.0+ |
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!