Linux 拨号vps windows公众号手机端

php如何将字符串转化为小写

lewis 6年前 (2019-04-04) 阅读数 13 #程序编程
文章标签 PHP字符串

在php中使用strtolower()函数将字符串转化为小写,具体方法如下:

strtolower()函数作用:

php中strtolower()函数的作用是用于将字符串转换为小写。

strtolower()函数语法:

strtolower(string)

参数:

string:指定字符串。

strtolower()函数使用方法:

echostrtolower("HelloWORLD!");

输出结果为:

helloworld!


版权声明

本文仅代表作者观点,不代表米安网络立场。

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

热门