Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:33411 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 67732 invoked by uid 1010); 24 Nov 2007 06:34:06 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 67717 invoked from network); 24 Nov 2007 06:34:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Nov 2007 06:34:06 -0000 Authentication-Results: pb1.pair.com smtp.mail=dagdamor@simps.ru; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dagdamor@simps.ru; sender-id=pass Received-SPF: pass (pb1.pair.com: domain simps.ru designates 87.245.154.216 as permitted sender) X-PHP-List-Original-Sender: dagdamor@simps.ru X-Host-Fingerprint: 87.245.154.216 mail.hostimsya.ru Linux 2.4/2.6 Received: from [87.245.154.216] ([87.245.154.216:51088] helo=mail.hostimsya.ru) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7B/39-30382-BD5C7474 for ; Sat, 24 Nov 2007 01:34:04 -0500 Received: from 87.103.197-192.xdsl.ab.ru ([87.103.197.192]) by mail.hostimsya.ru with esmtpa (Exim 4.50) id 1IvoaS-0001hn-Nq for internals@lists.php.net; Sat, 24 Nov 2007 09:34:00 +0300 Date: Sat, 24 Nov 2007 12:33:31 +0600 X-Mailer: The Bat! (v1.61) Reply-To: Dagdamor X-Priority: 3 (Normal) Message-ID: <11310531742.20071124123331@simps.ru> To: internals@lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: 3.0 (+++) X-Spam-Report: Spam detection software, running on the system "hostimsya.ru", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: >> 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 [...] Content analysis details: (3.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.8 HELO_DYNAMIC_SPLIT_IP Relay HELO'd using suspicious hostname (Split IP) 3.5 HELO_DYNAMIC_IPADDR2 Relay HELO'd using suspicious hostname (IP addr 2) -2.6 BAYES_00 BODY: Bayesian spam probability is 0 to 1% [score: 0.0000] 1.3 AWL AWL: From: address is in the auto white-list Subject: [PHP-DEV] Re: 5.2.5 - changes in the string parser From: dagdamor@simps.ru (Dagdamor) >> 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 This is the mirror I'm using - http://www.php.net/manual/en/language.types.string.php Dunno if it's up to date or not. IMO, if you stated in the past that only certain characters are being escaped *while others are not*, you shouldn't change this in the future (even by making changes in the documentation), because it breaks existing code. Moreover, you still can't use "\f" or "\v" sequences in your code, even if you want them to generate FF and VT symbols. Even PHP 5.2.4 treats them in a different way, leaving alone older versions of PHP. If you want to write code that will be compatible with different versions (which is important nowadays), you can't use these sequences at all. And again, why adding them in the first place? Who needs FF or VT on a regular basis in their applications? Regards, Serge