PHP stripcslashes() Function

The stripcslashes() function removes backslashes added by the addcslashes() function.

string stripcslashes ( string $str )

Returns a string with backslashes stripped off. Recognizes C-like \n, \r ..., octal and hexadecimal representation.

Example -

ParameterDescription
strRequired. Specifies the string to check

Returns the unescaped string.