$7.49 .com domain with free InstantPage Website Builder$1.99 Web Hosting   捷飞网络官方淘宝店   Godaddy 优惠码
返回列表 发帖
分享到:




[PHP 语言] PHP函数 case conversion function

几个常用的PHP大小写转换方法,记录一下:* N9 i" g8 ]* o% G( L) g. ^
& {: s. d8 A  n9 _6 O( T
1    strtolower()       //将字符串转换为小写形式, I1 I2 u$ e/ d  c# y& o/ H
2    strtoupper()     //将字符串转换为大写形式
1 y+ T. S  ?' {3 z8 f3    ucfirst()           //将字符串的第一个字符转换为大写形式. W$ W+ @- F, ^( a
4    ucwords()       //将字符串中每一个单词的首字母转换为大写形式

美国VPS、域名代购:http://tu8l.taobao.com

返回列表
Namecheap
Namecheap.com - Cheap domain name registration, renewal and transfers - Free SSL Certificates - Web Hosting
互联网安全