ID: 46347
Updated by: [EMAIL PROTECTED]
Reported By: duke at masendav dot com
-Status: Open
+Status: Feedback
Bug Type: Scripting Engine problem
Operating System: Macos 10.5
PHP Version: 5.3.0alpha2
New Comment:
Why should it like it? That looks like a bug that got fixed by the
new parser.
Previous Comments:
------------------------------------------------------------------------
[2008-10-20 19:40:21] duke at masendav dot com
Description:
------------
parse_ini_file no longer likes * (asterisk) in configuration keys.
Works just fine in PHP 5.2.5
Reproduce code:
---------------
Ini file with the following content:
[section]
part1.*.part2 = 1
PHP file:
<?php
parse_ini_file('test.ini');
Expected result:
----------------
ini file being parsed without any error messages
Actual result:
--------------
Warning: syntax error, unexpected '*' in test.ini on line 2
in test.php on line 2
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46347&edit=1