【函数分享】每日PHP函数分享(2021-1-21)

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

strtolower( string $str ) : string

  

 

参数描述

  str必需。规定要转换的字符串。

 

返回值:

  返回把字符串中所有字符转换为小写。

 

实例:

 

echo strtolower("HELLO WORLD");

 

//hello world

  

posted @ 2021-01-21 12:57  梦中程序员  阅读(50)  评论(0)    收藏  举报