Write a PHP program to convert a string into uppercase
Description:
Write a PHP program to convert all the characters inside the string into uppercase.
Instructions:
- You can use only one variable.
- You should use a PHP built-in string Function
View Solution/Program
<?php
$str = "Tutorials Class";
echo strtoupper($str);
?>
Tutorials Class - Output Window
TUTORIALS CLASS
Learn more about the similar topics:
Tutorials |
---|
PHP String Handling |
Interview Questions & Answers |
---|
No Content Found. |