php strtoupper()函数 语法
php strtoupper()函数 语法
作用:把所有字符转换为大写
语法:strtoupper(string)
参数:
| 参数 | 描述 | 
| string | 必须,规定要转换的字符串 | 
说明:strtoupper() 函数把字符串转换为大写,该函数是二进制安全的。
大理石V型块
php strtoupper()函数 示例
<?php $i = "hello world"; $j = strtoupper($i); echo $j; ?>
作用:把所有字符转换为大写
语法:strtoupper(string)
参数:
| 参数 | 描述 | 
| string | 必须,规定要转换的字符串 | 
说明:strtoupper() 函数把字符串转换为大写,该函数是二进制安全的。
<?php $i = "hello world"; $j = strtoupper($i); echo $j; ?>
