PHP strtoupper() function
In this article, We will explain to you PHP strtoupper() function with example.
PHP strtoupper() function
strtoupper() function is a string function. which is accept string and return the uppercase string. so you can see our PHP String Function example.
Syntax
strtoupper(string);
Example
<?PHP $str = "This is my Website!"; echo (strtoupper($str)); ?>
Output
THIS IS MY WEBSITE!