Re: Re: ini-parsing, double quotes, windows in 5.3

From: Date: Fri, 05 Sep 2008 21:31:09 +0000
Subject: Re: Re: ini-parsing, double quotes, windows in 5.3
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-40292@lists.php.net to get a copy of this message
Hi! Attached is the patch that does the following for php.ini parser: 1. \{LETTER} is literal inside "" now, whatever the letter is 2. \" is " inside "", with exception of: 3. foo="bar\"{NEWLINE} is parsed as bar\ - i.e. \ is allowed before closing " but only if the line ends there (otherwise it's impossible to know what the intent was). That should make Windows paths work just fine (unless you have some really weird ones that I didn't think about) with double quotes. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#40292) next »