英 [sl??]? ?美 [sl??]??
vt.大幅削減;揮砍;鞭打;嚴(yán)厲批評(píng)
vi.猛砍;嚴(yán)厲地批評(píng)
n.斜線;猛砍;刀痕,傷痕;沼澤低地
第三人稱單數(shù): slashes 復(fù)數(shù): slashes 現(xiàn)在分詞: slashing 過去式: slashed 過去分詞: slashed
php stripcslashes()函數(shù) 語法
作用:刪除由?addcslashes()?函數(shù)添加的反斜杠。
語法:stripcslashes(string)
參數(shù):
參數(shù) | 描述 |
string?? | 必須,規(guī)定要檢查的字符串。? ?? |
說明:該函數(shù)可用于清理從數(shù)據(jù)庫中或者從 HTML 表單中取回的數(shù)據(jù)。
php stripcslashes()函數(shù) 示例
<?php echo stripcslashes("Hello \World!"); ?>
運(yùn)行實(shí)例 ?
點(diǎn)擊 "運(yùn)行實(shí)例" 按鈕查看在線實(shí)例
輸出:
Hello World!
<?php echo stripcslashes("i'm \study \in \php.cn"); ?>
運(yùn)行實(shí)例 ?
點(diǎn)擊 "運(yùn)行實(shí)例" 按鈕查看在線實(shí)例
輸出:
i'm study in php.cn