Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40282 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 21312 invoked from network); 5 Sep 2008 10:58:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Sep 2008 10:58:00 -0000 Authentication-Results: pb1.pair.com smtp.mail=sv_forums@fmethod.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=sv_forums@fmethod.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fmethod.com from 69.16.228.148 cause and error) X-PHP-List-Original-Sender: sv_forums@fmethod.com X-Host-Fingerprint: 69.16.228.148 unknown Linux 2.4/2.6 Received: from [69.16.228.148] ([69.16.228.148:41219] helo=host.fmethod.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A2/45-27431-7B011C84 for ; Fri, 05 Sep 2008 06:57:59 -0400 Received: from [83.228.56.37] (port=1143 helo=pc) by host.fmethod.com with esmtpa (Exim 4.69) (envelope-from ) id 1KbZ0l-0006aU-3W; Fri, 05 Sep 2008 05:57:55 -0500 Message-ID: <928F85B0BF8247B197E9924A6D40CB6A@pc> To: "Antony Dovgal" Cc: "PHP Internals List" References: <20080904190717.aaz97tz688oogc4c@horde.chinstrap.eu> <48C01A91.6010501@daylessday.org> <1F1F55D1526B4BA1999B314C72CF56A6@pc> <48C0D927.7050600@daylessday.org> Date: Fri, 5 Sep 2008 13:57:47 +0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ISO-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.fmethod.com X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - fmethod.com Subject: Re: [PHP-DEV] ini-parsing, double quotes, windows in 5.3 From: sv_forums@fmethod.com ("Stan Vassilev | FM") > On 04.09.2008 23:08, Stan Vassilev | FM wrote: >> There won't be any bug reports, if the ini parser detects improper >> backslash usage (i.e., using a backslash with a following character which >> doesn't form correct escape combination) and stops with informative and >> descriptive message explaining the parser changes. Then anyone who can >> read, will figure it out, and fix it. > > Did you actually read what Johannes said? > "c:\Documents\tony" is perfectly legal string in both cases. > But in 5.3 it means "c:\Documentsony" and this is THE problem. > No error messages, no explanation whatsoever. Hi, I read it. \D in the same string isn't a legal escaped combination and this is where the user will be warned. Most paths are like this and this is enough information for the user to receive an error with a link to the changes described. Furthermore, since when is INI compatibility a feature of PHP. I've never considered I can simply upgrade my PHP and paste the old INI and run like that with no tests whatsoever. Regards, Stan Vassilev