note 9682 added to AddCSlashes
| From: | zak@php.net | Date: | Sun, 19 Nov 2000 03:54:08 +0000 |
| Subject: | note 9682 added to AddCSlashes | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-7875@lists.php.net to get a copy of this message | ||
Be careful if you choose to escape characters 0, a, b, f, n, r, t and v. They will be converted to
\0, \a, \b, \f, \n, \r, \t and \v.
In PHP \0 (NULL), \r (carriage return), \n (newline) and \t (tab) are predefined escape sequences,
while in C all of these are predefined escape sequences.
http://www.php.net/manual/function.addcslashes.php