The stripslashes() function is used to remove backslashes, added with addslashes() function.
stripslashes ( string $string ) : string
Parameter Name | Descrption |
---|---|
$string | Required, The input string. |
Returns the string with backslashes stripped off
echo stripslashes("It\'s test string"); //Output : It's test string
Related Functions