定义和用法

strtoupper() 函数把字符串转换为大写

语法

strtoupper(string)

参数解析

参数描述string必需。规定要转换的字符串。

示例

<?phpechostrtoupper("HelloWORLD!");?>

输出

HELLOWORLD!