From:             [EMAIL PROTECTED]
Operating system: WinNT (XP)
PHP version:      4.3.0-pre2
PHP Bug Type:     Filesystem function related
Bug description:  parse_ini_file() doesn't parse multiple keys

--- Original INI File (1.ini) ---
[MAIN]
key1=foo
key2=bar

[BAZ]
foo=1
foo=2
foo=3

--- End INI File ---

Upon using parse_ini_file() to parse out the keys and section names, i
noticed that the function doesn't recoginize multiple keys (as in the
[BAZ] section).  It simply returns the last key of that name, and that's
it.

It'd be in well interest if this could be fixed to return the array of the
keynames, instead of the last given key.
-- 
Edit bug report at http://bugs.php.net/?id=20331&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20331&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20331&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20331&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20331&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20331&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20331&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20331&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20331&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20331&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20331&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20331&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20331&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20331&r=isapi

Reply via email to