相關(guān)關(guān)鍵詞
關(guān)于我們
最新文章
PHP將字符串首字母大小寫轉(zhuǎn)換的實例
每個單詞的首字母轉(zhuǎn)換為大寫:ucwords()
<?php $foo = 'hello world!'; $foo = ucwords($foo); // Hello World! $bar = 'HELLO WORLD!'; $bar = ucwords($bar); // HELLO WORLD! $bar = ucwords(strtolower($bar)); // Hello World! ?>