Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40296 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1344 invoked from network); 6 Sep 2008 05:07:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Sep 2008 05:07:31 -0000 Authentication-Results: pb1.pair.com smtp.mail=lgandras@hotmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=lgandras@hotmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain hotmail.com designates 65.54.246.113 as permitted sender) X-PHP-List-Original-Sender: lgandras@hotmail.com X-Host-Fingerprint: 65.54.246.113 bay0-omc1-s41.bay0.hotmail.com Windows 2000 SP4, XP SP1 Received: from [65.54.246.113] ([65.54.246.113:48216] helo=bay0-omc1-s41.bay0.hotmail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7D/13-14247-21012C84 for ; Sat, 06 Sep 2008 01:07:31 -0400 Received: from BAY132-DS1 ([65.55.137.28]) by bay0-omc1-s41.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 5 Sep 2008 22:07:28 -0700 X-Originating-IP: [201.210.101.18] X-Originating-Email: [lgandras@hotmail.com] Message-ID: In-Reply-To: <20080904190717.aaz97tz688oogc4c@horde.chinstrap.eu> <48C0488C.9090209@sci.fi> <48C04E6A.2080909@zend.com> <48C1A51D.5030803@zend.com> <48C1C89D.2050603@zend.com> <48C1CB86.7030600@macvicar.net> To: "Scott MacVicar" , "Stanislav Malyshev" Cc: "Pierre Joye" , "PHP Internals List" References: <20080904190717.aaz97tz688oogc4c@horde.chinstrap.eu> <48C0488C.9090209@sci.fi> <48C04E6A.2080909@zend.com> <48C1A51D.5030803@zend.com> <48C1C89D.2050603@zend.com> <48C1CB86.7030600@macvicar.net> Date: Sat, 6 Sep 2008 00:38:54 -0430 X-Unsent: 1 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 12.0.1606 X-MimeOLE: Produced By Microsoft MimeOLE V12.0.1606 X-OriginalArrivalTime: 06 Sep 2008 05:07:28.0268 (UTC) FILETIME=[7558CCC0:01C90FDE] Subject: Re: [PHP-DEV] Re: ini-parsing, double quotes, windows in 5.3 From: lgandras@hotmail.com ("Andras") Scott MacVicar wrote: > Stanislav Malyshev wrote: >> Hi! >> >>> That's exactly why I am reluctant to change what Jani did. It is >>> easier to deal with this minor breakage in 5.3.0 and then have a >>> consistent and clean configuration system. Continuing to add some >>> exceptions while hoping that "no weird things" are used is a bad idea >> >> Do you see any problem with my patch? Any weird things? I don't really see anything wrong here, it's even a good idea. But! Exceptions like this, that must be documented, are not logical and may cause confusion. >> >>> Jani even suggested to add _fatal_ error. The lack of error messages >>> was one of the main arguments against this feature. >> >> No, the main argument is that it would break people's configs, and for >> no good reason at all (nobody really needs \n's in their paths). > > This code is used in parse_ini_file() where it is possible that escapes > would be used legitimately, it's not all about paths. > > Scott > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > Andras