Name
strtoupper()
Synopsis
string strtoupper ( string str
)
The strtoupper()
function takes one string parameter and returns that string entirely in uppercase characters.
$string = "I like to program in PHP"; $a = strtoupper($string);
In that example, $a
will be set to "I LIKE TO PROGRAM IN PHP".
Get PHP in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.