<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                # PHP addcslashes() 函數 ## 定義和用法 addcslashes() 函數在指定的字符前添加反斜杠。 ### 語法 ``` addcslashes(_string_,_characters_) ``` | 參數 | 描述 | | --- | --- | | string | 必需。規定要檢查的字符串。 | | characters | 可選。規定受 addcslashes() 影響的字符或字符范圍。 | ## 提示和注釋 注釋:在對 0,r,n 和 t 應用 addcslashes() 時要小心。在 PHP 中,\0,\r,\n 和 \t 是預定義的轉義序列。 ## 實例 ### 例子 1 在本例中,我們要向字符串中的特定字符添加反斜杠: ``` <?php $str = "Hello, my name is John Adams."; echo $str; echo addcslashes($str,'m'); echo addcslashes($str,'J'); ?> ``` 輸出: ``` Hello, my name is John Adams. Hello, \my na\me is John Ada\ms. Hello, my name is \John Adams. ``` ### 例子 2 在本例中,我們要向字符串中的一個范圍內的字符添加反斜杠: ``` <?php $str = "Hello, my name is John Adams."; echo $str; echo addcslashes($str,'A..Z'); echo addcslashes($str,'a..z'); echo addcslashes($str,'a..h'); ?> ``` 輸出: ``` Hello, my name is John Adams. \Hello, my name is \John \Adams. H\e\l\l\o, \m\y \n\a\m\e \i\s J\o\h\n A\d\a\m\s. H\ello, my n\am\e is Jo\hn A\d\ams. ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看