PHP strtoupper() Function makes all characters of string to uppercase.
Syntax :
strtoupper(string);
Parameters ,
string : Required. It is required to make all characters of string to uppercase.
It returns the uppercased string.
Similar function of strtoupper() :
ucwords(): It makes the first character of each word to uppercase in string..
strtolower() : It converts a whole string into lowercase.
lcfirst() : It converts only the first character of a string into lowercase.
ucfirst() : It converts only the first character of a string into uppercase.
Let's see below example to understand php strtoupper() Function in details.
Comments