From:             argh at php-tools dot net
Operating system: Linux
PHP version:      4.3.1
PHP Bug Type:     Filesystem function related
Bug description:  parse_ini_file parsing error when using no/yes/true/false as key

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 bug report at http://bugs.php.net/?id=22923&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=22923&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=22923&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=22923&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=22923&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=22923&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=22923&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=22923&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=22923&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=22923&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=22923&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22923&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=22923&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=22923&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=22923&r=gnused

Reply via email to