Re: 5.2.5 - changes in the string parser
| From: | Edward Z. Yang | Date: | Sat, 24 Nov 2007 03:27:24 +0000 |
| Subject: | Re: 5.2.5 - changes in the string parser | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-33408@lists.php.net to get a copy of this message | ||
Dagdamor wrote:
> I checked the documentation. It says that only "\n", "\r" and
> "\t" sequences
> (I count only alphanumeric ones) are special, there is nothing about \f or \v.
> The documentation clearly says that all other sequences are not special and
> the backslash becomes part of the string. It also says: "usually, there is no
> need to escape the backslash itself", in other words, escaping the backslash
> only when necessary is allowed and encouraged.
The documentation probably should be fixed. Also, \f and \v have been
documented; your mirror probably isn't up to date. See:
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/types.xml?r1=1.189&r2=1.190&diff_format=u
--
Edward Z. Yang GnuPG: 0x869C48DA
HTML Purifier <http://htmlpurifier.org> Anti-XSS Filter
[[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]