Convert all characters to uppercase:
<?php
echo strtoupper("Hello WORLD!");
?>
Try it Yourself »
The strtoupper() function converts a string to uppercase.
Note: This function is binary-safe.
Related functions:
strtoupper(
string)
Parameter | Description |
---|---|
string | Required. Specifies the string to convert |
Return Value: | Returns the the uppercased string |
---|---|
PHP Version: | 4+ |
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!