← All built-ins / strtoupper()
strtoupper()
strtoupper(string $s): string
Parameters
| Name | Type | Description |
|---|---|---|
| $s | string | input string |
Return value
The string with every ASCII letter uppercased.
Example
echo strtoupper("holy php");HOLY PHP
| Name | Type | Description |
|---|---|---|
| $s | string | input string |
The string with every ASCII letter uppercased.
echo strtoupper("holy php");HOLY PHP