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

119 阅读1分钟

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

strtolower( string $str ) : string

参数描述

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

返回值:

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

实例:

echo strtolower("HELLO WORLD");

//hello world