strrev

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

strrev -- 文字列を逆順にする

説明

string strrev (string string)

stringを逆順にして返します。

例 1strrev()で文字列を逆順にする

<php
echo strrev("Hello world!"); // "!dlrow olleH"を出力
?>