» 网友学堂 » PHP教程 » php 转换大小写函数
php 转换大小写函数
作者:问天 发表时间:2007-3-19 15:28 阅读:3896次 在百度搜索相关内容

Definition and Usage

定义和用法The strtolower() function converts a string to lowercase.

strtolower()函数的作用是:将一个字符转为小写字母。

Syntax

语法
strtolower(string)
[tr]Parameter参数Description描述[/tr]
stringRequired. Specifies the string to convert
必要参数。指定需要进行转换的字符串
Example
案例
<?phpecho strtolower("Hello WORLD.");?>
The output of the code above will be:
上述代码将输出下面的结果:
hello world.

#Advertisement