PHP中强制字母转换大小写的方法
PHP函数转换字母大小写
strtoupper() 函数把字符串转换为大写。
strtolower() 函数把字符串转换为小写。
每个单词的首字母转换为大写:ucwords()
<?php $foo = 'hello world!'; $foo = ucwords($foo); // Hello World! $bar = 'HELLO WORLD!'; $bar = ucwords(...
本文标题: PHP中强制字母转换大小写的方法
本文链接: https://crm.yallacn.com/jiaocheng/371.html (转载时请注明来源链接)
本文说明: 有问题或投稿请发送至: 邮箱/service@zhimatong.com QQ/1174742835
特别鸣谢: 如果您觉得本文对您有帮助,请给我们一个小小的赞,收藏本文更利于反复学习哦!



交流群
购物车