ID: 45991
Comment by: dirk dot thomas at 4wdmedia dot de
Reported By: ckl at ecw dot de
Status: No Feedback
Bug Type: *Configuration Issues
Operating System: Windows XP SP 3
PHP Version: 5.3.0alpha2
New Comment:
I have the same problem with PHP 5.3.0alpha3 under Windows Vista.
The parsed ini-file was saved as UTF-8 with BOM.
parse_ini returns an empty array for me.
Previous Comments:
[2008-09-12 01:00:00] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
[2008-09-05 06:49:33] ckl at ecw dot de
config.ini was saved as UTF-8 with BOM.
[2008-09-04 14:30:18] tula...@php.net
changing to configuration issue
[2008-09-04 14:29:19] tula...@php.net
Would that be UTF-8 with the BOM? or without?
[2008-09-04 10:13:38] ckl at ecw dot de
Description:
parse_ini_file returns an empty array while trying to parse any
ini-file which is saved as UTF-8.
ISO-8859-1 saved ini-files works as expected.
Reproduce code:
---
; Saved as UTF-8
[production]
application.base_url =
application.data_url = "data"
database.type = pdo_mysql
database.host = 192.168.0.78
database.username = root
database.password =
database.name = blog
Expected result:
Get an array..
Actual result:
--
array()
--
Edit this bug report at http://bugs.php.net/?id=45991&edit=1