PHP Programing language

strrev() Functions in PHP
Previous Home Next

strrev()

The strrev() function reverses a string.

Syntax:
strrev(string)

Example:

<?php
echo strrev("Gud Morning");
?>

 

Output:

gninroM duG
Previous Home Next