Add or remove backslashes
Add backslashes before characters that need to be escaped or remove slashes from escaped string
Source string:
Convert
Result:
Escaped with addslashes():
Removed backslashes with stripslashes():