English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
PHP String String Functions Manual
The stripcslashes() function is used to remove the backslashes added by the addcslashes() function.
string stripcslashes ( string $str )
Used to remove backslashes
It returns the unescaped string.
Serial Number | Parameters and Description |
---|---|
1 | str Used to specify the string to be unescaped |
Try the following example to remove the backslash before "World!":
<?php //Remove the backslash before "World!": echo stripcslashes("Hello World!"); ?>Test and see‹/›
Output Result
Hello World!