How to use strtoupper in PHP

In this article I will explain how strtoupper function can be used in PHP.
  • 1734

strtoupper() Function

This function converts a string to uppercase.

Syntax

strtoupper(string)

 

 Parameter  Description
 string  Required. Specifies the string to convert

Example

<html>
<body>
<?php
echo strtoupper("Mahendra bhardwaj");
?>
</body>
</html> 

 

Output


strtoupper-php.jpg

You may also want to read these related articles Click here

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.