strrev

(PHP 3, PHP 4 )

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

説明

string strrev ( string string)

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

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

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