时间:2021-07-01 10:21:17 帮助过:98人阅读

php中可以使用strtolower()函数将所有大写字母转换为小写字母。
strtolower() 函数把字符串转换为小写。
注释:该函数是二进制安全的。
语法:strtolower(string)
参数:string 必需。规定要转换的字符串。
示例:
<!DOCTYPE html>
<html>
<body>
<?php
echo strtolower("Hello WORLD.");
?>
</body>
</html>运行结果如下:

更多PHP相关教程请关注Gxlcms
以上就是php中怎么将大写字母转换为小写字母的详细内容,更多请关注Gxlcms其它相关文章!