ID:               49025
 Updated by:       j...@php.net
-Summary:          parse-ini-file cannot pars brackets in the values.
 Reported By:      redplug at web dot de
-Status:           Open
+Status:           Bogus
 Bug Type:         Filesystem function related
 Operating System: Debian "Leeny"
 PHP Version:      5.2.10
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php




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

[2009-07-23 02:48:54] redplug at web dot de

Description:
------------
The function parse-ini-file cannot pars brackets in the values!


Reproduce code:
---------------
---
>From manual page: function.parse-ini-file
---
Example:
[Main]
foobaa=()[]{}

Expected result:
----------------
Warning: Error parsing foo.ini on line 1
 in baa.php on line X

Actual result:
--------------
Her is the fix:
http://pastebin.com/f719040f1


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


-- 
Edit this bug report at http://bugs.php.net/?id=49025&edit=1

Reply via email to