好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

php中怎么将大写字母转换为小写字母

php中可以使用strtolower()函数将所有大写字母转换为小写字母。

strtolower() 函数把字符串转换为小写。

注释:该函数是二进制安全的。

语法:strtolower(string)

参数:string 必需。规定要转换的字符串。

示例:

<!DOCTYPE html>
<html>
<body>

<?php
echo strtolower("Hello WORLD.");
?>
  
</body>
</html>

运行结果如下:

更多PHP相关教程请关注Gxlcms

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

查看更多关于php中怎么将大写字母转换为小写字母的详细内容...

  阅读:52次