ID:               20331
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Filesystem function related
 Operating System: WinNT (XP)
 PHP Version:      4.3.0-pre2
 New Comment:

Also, this `bug' has beeen experienced in all my past releases of PHP,
not just 4.3.0-pre2.


Previous Comments:
------------------------------------------------------------------------

[2002-11-09 20:04:56] [EMAIL PROTECTED]

--- 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 this bug report at http://bugs.php.net/?id=20331&edit=1

Reply via email to