Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33408 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42007 invoked by uid 1010); 24 Nov 2007 03:27:59 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 41992 invoked from network); 24 Nov 2007 03:27:59 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Nov 2007 03:27:59 -0000 X-Host-Fingerprint: 24.228.86.142 ool-18e4568e.dyn.optonline.net Received: from [24.228.86.142] ([24.228.86.142:20613] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F3/B5-30382-E3A97474 for ; Fri, 23 Nov 2007 22:27:58 -0500 Message-ID: To: internals@lists.php.net Date: Fri, 23 Nov 2007 22:27:24 -0500 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041206 Thunderbird/1.0 Mnenhy/0.6.0.104 MIME-Version: 1.0 References: <113985055.20071124091535@simps.ru> In-Reply-To: <113985055.20071124091535@simps.ru> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Posted-By: 24.228.86.142 Subject: Re: 5.2.5 - changes in the string parser From: edwardzyang@thewritingpot.com ("Edward Z. Yang") 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 Anti-XSS Filter [[ 3FA8 E9A9 7385 B691 A6FC B3CB A933 BE7D 869C 48DA ]]