📌  相关文章
📜  如何在php代码示例中将字符串单词转换为小写

📅  最后修改于: 2022-03-11 14:54:15.083000             🧑  作者: Mango

代码示例3
strtolower ( string $string ) : string 
//Returns string with all alphabetic characters converted to lowercase.
$string = 'HELLO WORLD';
echo strtolower($string); //Output: 'hello world'
The strtolower() function is used to convert a string into lowercase. This function takes a string as parameter and converts all the uppercase english alphabets present in the string to lowercase.