Write a PHP program to reverse the string
Description:
Write a PHP program to reverse the string.
Instructions:
- You can use any string related built-in Function.
- You can use only one variable.
View Solution/Program:
<?php
$str = "Tutorials Class";
echo strrev($str);
?>
Tutorials Class - Output Window
ssalC slairotuT
Learn more about the similar topics:
Tutorials |
---|
PHP String Handling |
Interview Questions & Answers |
---|
No Content Found. |