Blog : PHP strtoupper() Function

PHP strtoupper() Function


--------------------------------------------------------------------------------
 Complete PHP String Reference
--------------------------------------------------------------------------------

Definition and Usage
The strtoupper() function converts a string to uppercase.

Syntax
strtoupper(string)  

Parameter Description
string Required. Specifies the string to convert


--------------------------------------------------------------------------------

Example
echo strtoupper("Hello WORLD!");
?>  

The output of the code above will be:

HELLO WORLD!