ID:               20331
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Won\'t fix
-Bug Type:         Filesystem function related
+Bug Type:         Feature/Change Request
 Operating System: WinNT (XP)
 PHP Version:      4.3.0-pre2
 New Comment:

Why do you think it is a bug?  It has never supported arrays and
introducing it would probably break BC in nasty ways.  So this is at
best a feature request that is unlikely to be addressed.


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

[2002-11-09 20:05:47] [EMAIL PROTECTED]

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

------------------------------------------------------------------------

[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