1--TEST--
2Bug #47859 (parse_ini_file() does not like asterisk (*) in key in the beginning)
3--FILE--
4<?php
5var_dump(parse_ini_string('*key = "*value"'));
6var_dump(parse_ini_string('-key = "-value"'));
7var_dump(parse_ini_string('_key = "_value"'));
8
9var_dump(parse_ini_string('key* = "value*"'));
10var_dump(parse_ini_string('key.*.* = "value.*.*"'));
11var_dump(parse_ini_string('*.*.key = "*.*.value"'));
12var_dump(parse_ini_string('k*e*y = "v*a*lue"'));
13?>
14--EXPECT--
15array(1) {
16  ["*key"]=>
17  string(6) "*value"
18}
19array(1) {
20  ["-key"]=>
21  string(6) "-value"
22}
23array(1) {
24  ["_key"]=>
25  string(6) "_value"
26}
27array(1) {
28  ["key*"]=>
29  string(6) "value*"
30}
31array(1) {
32  ["key.*.*"]=>
33  string(9) "value.*.*"
34}
35array(1) {
36  ["*.*.key"]=>
37  string(9) "*.*.value"
38}
39array(1) {
40  ["k*e*y"]=>
41  string(7) "v*a*lue"
42}
43