Skip to content

strtoupper ​

php
string strtoupper(string $lancuch)
PHP

Returns $lancuch with all lowercase letters converted to uppercase.

Example:

php
$toUpper = "EXAMPLE text";
$toUpper = strtoupper($toUpper);
print($toUpper);

The result is:

EXAMPLE TEXT