PHP 大小写转换的函数
几个常用的PHP大小写转换方法,记录一下:1 strtolower() //将字符串转换为小写形式
2 strtoupper() //将字符串转换为大写形式
3 ucfirst() //将字符串的第一个字符转换为大写形式
4 ucwords() //将字符串中每一个单词的首字母转换为大写形式
文章来源:http://www.evebit.com/about/developers-blog/item/175-php-case-conversion-function/
页:
[1]