【函数分享】每日PHP函数分享(2021-1-23)
时间:2021-01-23 10:21:40
收藏:0
阅读:33
lcfirst () 使一个字符串的第一个字符小写
lcfirst ( string $str ) : string
参数描述
str必需。规定要转换的字符串。
返回值:
返回第一个字母小写的 str 字符串,如果是字母的话。
实例:
echo lcfirst(‘Hello World‘); //hello World echo lcfirst(‘HELLO WORLD‘); //hELLO WORLD
原文:https://www.cnblogs.com/leruge/p/14316487.html
评论(0)