#45991 [Opn->Csd]: parse_ini_file returns empty array if config.ini is saved as UTF-8
| From: | scottmac@php.net | Date: | Wed, 24 Dec 2008 13:50:07 +0000 |
| Subject: | #45991 [Opn->Csd]: parse_ini_file returns empty array if config.ini is saved as UTF-8 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-132286@lists.php.net to get a copy of this message | ||
ID: 45991
Updated by: scottmac@php.net
Reported By: ckl at ecw dot de
-Status: Open
+Status: Closed
Bug Type: *Configuration Issues
Operating System: Windows XP SP 3
PHP Version: 5.3.0alpha2
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2008-12-23 15:39:39] pajoye@php.net
See #46326 as well (ini broken when BOM are present)
------------------------------------------------------------------------
[2008-12-23 15:20:28] dirk dot thomas at 4wdmedia dot de
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.
------------------------------------------------------------------------
[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] tularis@php.net
changing to configuration issue
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/45991
--
Edit this bug report at http://bugs.php.net/?id=45991&edit=1