September 2001
Intermediate to advanced
768 pages
32h 45m
English
string addcslashes (string string, string chars_to_escape)
Escapes the specified characters (or range of characters) with C-style escape sequences.
Returns:
String argument with the specified characters escaped
Description:
addcslashes() performs C-style character escaping on the specified characters in a string. The characters to be escaped are defined in the chars_to_escape argument as a sequence of one or more single characters and/or ranges of characters (such as a..z or \0..\037). The characters within the string can be expressed as literals (a, b, c, ...), C-style character escape sequences (\n, \r, ...), octal character escape sequences (\102, \277, ...), or hexadecimal character escape sequences (\x20, \xFF, ...).
Of the ...
Read now
Unlock full access