strrev
(PHP 4, PHP 5)
strrev — Reverse a string
LeÃrás
string strrev
( string $string
)
Returns string , reversed.
Paraméterek
- string
-
The string to be reversed.
Visszatérési értékek
Returns the reversed string.
Példák
Example#1 Reversing a string with strrev()
<?php
echo strrev("Hello world!"); // outputs "!dlrow olleH"
?>