php怎么将字符串转化为小写
php怎样将字符串转化为小写
在php中使用strtolower()函数将字符串转化为小写,具体方法以下:
strtolower()函数作用:
php中strtolower()函数的作用是用于将字符串转换为小写。
strtolower()函数语法:
strtolower(string)
参数:
string:指定字符串。
strtolower()函数使用方法:
echo strtolower("Hello WORLD!");
输出结果为:
hello world!
文章来源:丸子建站
文章标题:php怎么将字符串转化为小写
https://www.wanzijz.com/view/3840.html