What is use of strtoupper() in php ?
The strtoupper() function is used for converting a string to uppercase.
Syntax of strtoupper() function:
strtoupper(string)
string is a compulsory parameter
You can see below example of ucfirst() function in php.
<?php
//here call strtoupper() for cconverting string
echo strtoupper("well done");
?>
output will come of above example
WELL DONE
0 Comment(s)