php strtolower()函数 语法

作用:把所有字符转换为小写​

语法:strtolower(string)

参数:

参数

描述

string

必须,规定要转换的字符串

说明:strtolower() 函数把字符串转换为小写,该函数是二进制安全的。

php strtolower()函数 示例





<?php
$i = "HELLO WORLD";
$j = strtolower($i);
echo $j;
?>