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

stripcslashes

反参照addcslashes()を使用して逃げた文字列
名前:stripcslashes
カテゴリ:
対応言語:php
一言説明:addcslashes()関数によって追加されたバックスラッシュを削除します。

「世界!」の前でバックスラッシュを削除します:

 <span class="token php language-php"><span class="token delimiter important"><?php</span>
<span class="token keyword">エコー</span><span class="token function">ストリップスラッシュ</span><span class="token punctuation">(</span> <span class="token string double-quoted-string">"hello \ world!"</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token delimiter important">?></span></span>

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

類似の関数
  • htmlspecialchars()およびhtmlentities()を使用した後、変換テーブルを返します get_html_translation_table

    get_html_translation_table

    htmlspecialchars()およ
  • cスタイルのバックスラッシュを使用して文字列のキャラクターを逃がす addcslashes

    addcslashes

    cスタイルのバックスラッシュを使用して文
  • 文字列が指定されたサブストリングで終了するかどうかを確認します str_ends_with

    str_ends_with

    文字列が指定されたサブストリングで終了す
  • 1つ以上の文字列を出力します echo

    echo

    1つ以上の文字列を出力します
  • フォーマットされた文字列を返します vsprintf

    vsprintf

    フォーマットされた文字列を返します
  • 文字列を小文字に変換します strtolower

    strtolower

    文字列を小文字に変換します
  • 2つの文字列間の類似性を計算します similar_text

    similar_text

    2つの文字列間の類似性を計算します
  • 文字列を配列に変換します str_split

    str_split

    文字列を配列に変換します
人気記事(にんききじ)