php中怎么将大写字母转换为小写字母
来源:动视网
责编:小采
时间:2020-11-03 13:38:17
php中怎么将大写字母转换为小写字母
php中怎么将大写字母转换为小写字母:php中可以使用strtolower()函数将所有大写字母转换为小写字母。strtolower() 函数把字符串转换为小写。注释:该函数是二进制安全的。语法:strtolower(string)参数:string 必需。规定要转换的字符串。 示例:<!DOCTYPE html>
导读php中怎么将大写字母转换为小写字母:php中可以使用strtolower()函数将所有大写字母转换为小写字母。strtolower() 函数把字符串转换为小写。注释:该函数是二进制安全的。语法:strtolower(string)参数:string 必需。规定要转换的字符串。 示例:<!DOCTYPE html>

php中可以使用strtolower()函数将所有大写字母转换为小写字母。
strtolower() 函数把字符串转换为小写。
注释:该函数是二进制安全的。
语法:strtolower(string)
参数:string 必需。规定要转换的字符串。
示例:
<!DOCTYPE html>
<html>
<body>
<?php
echo strtolower("Hello WORLD.");
?>
</body>
</html>
运行结果如下:

更多PHP相关教程请关注Gxlcms
php中怎么将大写字母转换为小写字母
php中怎么将大写字母转换为小写字母:php中可以使用strtolower()函数将所有大写字母转换为小写字母。strtolower() 函数把字符串转换为小写。注释:该函数是二进制安全的。语法:strtolower(string)参数:string 必需。规定要转换的字符串。 示例:<!DOCTYPE html>