PHP strrev() Function
The strrev()
function is used reverse a given string
Syntax
strrev(string)
- String - (Required) Specify the string to reverse.
Example
<?php echo strrev("Good Morning!"); ?>
Output
!gninroM dooG