strrev
(PHP 4, PHP 5)
strrev — Reverse a string
Popis
string strrev
( string $string
)
Returns string , reversed.
Parametre
- string
-
The string to be reversed.
Vrátené hodnoty
Returns the reversed string.
PrÃklady
Example#1 Reversing a string with strrev()
<?php
echo strrev("Hello world!"); // outputs "!dlrow olleH"
?>