Remove the backslash in front of "World!":
<?php
echo stripcslashes("Hello \World!");
?>
Try it Yourself »
The stripcslashes() function removes backslashes added by the addcslashes() function.
Tip: This function can be used to clean up data retrieved from a database or from an HTML form.
stripcslashes(
string)
Parameter | Description |
---|---|
string | Required. Specifies the string to check |
Return Value: | Returns the unescaped string |
---|---|
PHP Version: | 4+ |
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!