note 112453 added to function.parse-ini-file
| From: | grant at rootcentral dot org | Date: | Tue, 18 Jun 2013 19:46:10 +0000 |
| Subject: | note 112453 added to function.parse-ini-file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-195264@lists.php.net to get a copy of this message | ||
Somewhere between versions 5.2.5 and 5.3.24, the parsing of unquoted multiword values (e.g. values
with embedded spaces) changed.
In 5.3.24, a multiword value where one of the words is a reserved word (null, yes, no, true, false,
on, off, none) will cause the function to return an error.
Adding double quotation marks around the value string will solve the problem.
----
Server IP: 64.71.164.2
Probable Submitter: 66.193.17.218
----
Manual Page -- http://php.net/manual/en/function.parse-ini-file.php
Edit -- https://master.php.net/note/edit/112453
Del: integrated -- https://master.php.net/note/delete/112453/integrated
Del: useless -- https://master.php.net/note/delete/112453/useless
Del: bad code -- https://master.php.net/note/delete/112453/bad+code
Del: spam -- https://master.php.net/note/delete/112453/spam
Del: non-english -- https://master.php.net/note/delete/112453/non-english
Del: in docs -- https://master.php.net/note/delete/112453/in+docs
Del: other reasons-- https://master.php.net/note/delete/112453
Reject -- https://master.php.net/note/reject/112453
Search -- https://master.php.net/manage/user-notes.php