ucfirst() 函数
定义和用法参数 描述 string必需。规定要转换的字符串。
ucfirst() 函数把字符串中的首字符转换为大写
语法ucfirst(string)
参数解析
示例
<?php
echo ucfirst("hello world!");
?>
输出
Hello world!
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。