August 2003
Intermediate to advanced
1104 pages
19h 27m
English
The functions in this section transform data from one form to another. This includes stripping certain characters, substituting some characters for others, and translating data into some encoded form.
The addcslashes function returns the text argument after escaping characters in the style of the C programming language. Briefly, this means special characters are replaced with codes, such as \n replacing a newline character, and other characters outside ASCII 32–126 are replaced with backslash octal codes.
The optional characters argument may contain a list of characters to be escaped, which overrides the default of escaping all special characters. The characters are ...
Read now
Unlock full access