現在の位置: ホーム> 関数カテゴリ一覧> strrev

strrev

文字列を逆にします
名前:strrev
カテゴリ:
対応言語:php
一言説明:文字列を反転させます。

文字列「私は上海が大好き!」を反転させます:

 <span class="token php language-php"><span class="token delimiter important"><?php</span>
<span class="token keyword">Echo</span> <span class="token function">Strrev</span> <span class="token punctuation">(</span> <span class="token string double-quoted-string">「私はShanghaiが大好き!」</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token delimiter important">?></span></span>

自分で試してみてください

類似の関数
  • 通貨文字列へのフォーマット番号 money_format

    money_format

    通貨文字列へのフォーマット番号
  • 文字列をランダムに破壊します str_shuffle

    str_shuffle

    文字列をランダムに破壊します
  • ファイルのSHA1ハッシュ値を計算します sha1_file

    sha1_file

    ファイルのSHA1ハッシュ値を計算します
  • 1つの文字列を使用して別の文字列を配列に分割します explode

    explode

    1つの文字列を使用して別の文字列を配列に
  • UUENCODEエンコードされた文字列をデコードします convert_uudecode

    convert_uudecode

    UUENCODEエンコードされた文字列を
  • 文字列が指定されたサブストリングから始まるかどうかを確認します str_starts_with

    str_starts_with

    文字列が指定されたサブストリングから始ま
  • 数字からシングルバイト文字列を生成します chr

    chr

    数字からシングルバイト文字列を生成します
  • 言語とロケール情報をクエリします nl_langinfo

    nl_langinfo

    言語とロケール情報をクエリします