#22923 [Ana->Csd]: parse_ini_file parsing error when using no/yes/true/false as key
| From: | alindeman@php.net | Date: | Tue, 01 Apr 2003 23:19:37 +0000 |
| Subject: | #22923 [Ana->Csd]: parse_ini_file parsing error when using no/yes/true/false as key | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969352426@lists.php.net to get a copy of this message | ||
ID: 22923
Updated by: alindeman@php.net
Reported By: argh at php-tools dot net
-Status: Analyzed
+Status: Closed
Bug Type: Documentation problem
Operating System: Linux
PHP Version: 4.3.1
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2003-03-27 06:31:14] sniper@php.net
This is by design and won't be fixed.
Should be documented though. Those are reserved words and can not be
used in ini files.
------------------------------------------------------------------------
[2003-03-27 06:03:42] argh at php-tools dot net
When using any of the following values:
no
yes
true
false
As key for a configuration entry, like
NO = "Norway"
The function will return a parse error for the ini file. Found this
when I tried to implement a countries list this way. Norway just
happens to have that country code...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22923&edit=1