ID:               47859
 Updated by:       j...@php.net
 Reported By:      ce at beer dot com
-Status:           Open
+Status:           Verified
 Bug Type:         Scripting Engine problem
-Operating System: 
+Operating System: *
-PHP Version:      5.3.0RC1
+PHP Version:      5.3CVS, 6CVS (2009-04-01)


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

[2009-04-01 10:19:59] ce at beer dot com

Description:
------------
parse_ini_file no longer likes * (asterisk) in the beginning of the
configuration keys.

Works just fine in PHP 5.2.5


it is a copy of http://bugs.php.net/bug.php?id=46347

but still the first part of the key cannot be *

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=47859&edit=1

Reply via email to