Returns a string with backslashes stripped off. Recognizes C-like \n, \r ..., octal and hexadecimal representation. Test stripcslashes online.
string stripcslashes ( string $str )
PHP Documentation by the PHP Documentation Group
(PHP 4, PHP 5, PHP 7, PHP 8)
stripcslashes — Un-quote string quoted with addcslashes()
$string
) : string
Returns a string with backslashes stripped off. Recognizes
C-like \n
, \r
..., octal
and hexadecimal representation.
string
The string to be unescaped.
Returns the unescaped string.
Copyright © 1997 - 2016 by the PHP Documentation Group. This material may be distributed only subject to the terms and conditions set forth in the Creative Commons Attribution 3.0 License or later. A copy of the Creative Commons Attribution 3.0 license is distributed with this manual. The latest version is presently available at » http://creativecommons.org/licenses/by/3.0/.