参数
string-
需要反转义的字符串。
返回值
返回反转义后的字符串。
示例
示例 #1 stripcslashes() 示例
<?php
var_dump(stripcslashes('I\'d have a coffee.\nNot a problem.') === "I'd have a coffee.
Not a problem."); // true
?>
string需要反转义的字符串。
返回反转义后的字符串。
示例 #1 stripcslashes() 示例
<?php
var_dump(stripcslashes('I\'d have a coffee.\nNot a problem.') === "I'd have a coffee.
Not a problem."); // true
?>