(PHP 4, PHP 5)
strrev — Reverse a string
Returns string , reversed.
The string to be reversed.
Returns the reversed string.
Example #1 Reversing a string with strrev()
<?phpecho strrev("Hello world!"); // outputs "!dlrow olleH"?>