1. Home
  2. FAQ
  3. PHP FAQ
  4. String to UPPERCASE

String to UPPERCASE

How to Convert A String To Uppercase in PHP

The PHP strtoupper() function is used to convert a string to uppercase.

Try the below example to under the working of this function, which convert all alphabets of a string to uppercase.

Example:

Output:

WELCOME TO TECADMIN.NET
Tags ,