(PHP 4, PHP 5, PHP 7)
Quote string with slashes in a C style
string addcslashes ( string $str, string $charlist )
Returns a string with backslashes before characters that are listed in charlist parameter.
Parameters:
str
The string to be escaped.
charlist
A list of characters to be escaped. If charlist contains characters \n, \r etc., t