strtolower_PHP strtolower()函数与示例
strtolower
PHP strtolower()函数 (PHP strtolower() function)
strtolower() function is a string function, it accepts the string and returns an lowercase string.
strtolower()函数是一个字符串函数,它接受该字符串并返回小写字符串。
Syntax:
句法:
strtolower(string);
Example:
例:
Input: "This is my COMPUter!"
Output: "this is my computer!"
PHP code:
PHP代码:
<?PHP
$str = "This is my COMPUter!";
echo (strtolower($str));
?>
Output
输出量
this is my computer!
翻译自: https://www.includehelp.com/php/strtolower-function-with-example.aspx
strtolower
还没有评论,来说两句吧...