PHP strtoupper() Function

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

Demo :



Type Text  

Example :

Ask your questions like : What is PHP ?

If you need to convert string to uppercase letter following code useful to you.


<?php
  $stringTOupper = "What is PHP";
  $result = strtoupper($stringTOupper);
  echo $result;
?>

In the above code is used to convert string to upper case. The 'What is PHP' this string stored in $stringTOupper variable.Then strtoupper() function is convert "What is PHP" letter to "WHAT IS PHP" letter.

Free Download Script :

If you need strtoupper() function click and download from following link.

Download




Content