strtoupper 小写
PHP strtoupper()函数 (PHP strtoupper() function)
strtoupper() function is a string function it accepts the string and returns an uppercase string.
strtoupper()函数是一个字符串函数,它接受字符串并返回大写字符串。
Syntax:
句法:
strtoupper(string);
Example:
例:
Input: "This is my COMPUter!"
Output: "THIS IS MY COMPUTER!"
PHP code:
PHP代码:
<?PHP
$str = "This is my COMPUter!";
echo (strtoupper($str));
?>
Output
输出量
THIS IS MY COMPUTER!
翻译自: https://www.includehelp.com/php/strtoupper-function-with-example.aspx
strtoupper 小写