The PHP built-in function strtoupper() is used to convert a string to uppercase.
Let's check the following example to understand how this function actually works
<?php $my_str = 'Convert to uppercase'; echo strtoupper($my_str); ?>
OUTPUT
CONVERT TO UPPERCASE
0 0Please Login to Post the answer