stripslashes - 语法

string stripslashes ( string $str )

用于取消引用字符串的引号

Sr.No 参数 & 描述
1

str

用于搜索的字符串

stripslashes - 返回值

它返回未转义的字符串

stripslashes - 示例

<?php
   echo stripcslashes("tutorials\point");
?>

这将产生以下输出-

tutorials point

参考链接

https://www.learnfk.com/php/php-function-stripslashes.html