Added in 1.9.0

$isupper(text)

Returns $true if text is all upper case otherwise $false.

See also $upper, $lower, $islower.

Parameters

Parameter Description
text Text to check.

Example

; Check if 'TEXT' is uppercase.
//if ($isupper(TEXT)) echo -ag text is uppercase