在php中使用strtolower()函數將字符串轉化為小寫,具體方法如下:
strtolower()函數作用:
php中strtolower()函數的作用是用于將字符串轉換為小寫。
strtolower()函數語法:
strtolower(string)
參數:
string:指定字符串。
strtolower()函數使用方法:
echo strtolower("Hello WORLD!");
輸出結果為:
hello world!