Menu Home

strtoupper

osbo.com | PHP | Functions | strtoupper

Make a string uppercase

Syntax

strtoupper ( string $string ) : string

Parameters

string

The input string.

Return

Returns the uppercased string.

Examples

<?

$string = "CASE Case case";

$return = strtoupper($string);

echo $return;

?>
CASE CASE CASE

Internal

strtolower

External

PHP