(推荐教程:php教程)
函数介绍:
strtolower() 函数把字符串转换为小写。
语法:
strtolower(string)
参数介绍:
string 必需参数。规定要转换的字符串。
返回值:
返回转换为小写的字符串。
代码实现:
<?php
$string = "Learn PHP string functions at jb51.net";
$lower = strtolower($string);
$upper = strtoupper($string);
print("$lower
");
print("$upper
");
print("
");
?>
Copyright © 2019- zuimanlou.com 版权所有
违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com
本站由北京市万商天勤律师事务所王兴未律师提供法律服务