--TEST-- parse_ini_file() multiple calls --SKIPIF-- --FILE-- --EXPECTF-- Warning: parse_ini_file() expects at least 1 parameter, 0 given in %sparse_ini_file.php on line 6 bool(false) Warning: parse_ini_file() expects at most 3 parameters, 4 given in %sparse_ini_file.php on line 7 bool(false) Warning: parse_ini_file(%sparse_ini_file.dat): failed to open stream: No such file or directory in %sparse_ini_file.php on line 8 bool(false) Warning: parse_ini_file(%sparse_ini_file.dat): failed to open stream: No such file or directory in %sparse_ini_file.php on line 9 bool(false) array(1) { ["test"]=> string(0) "" } Warning: syntax error, unexpected '='%sparse_ini_file.dat on line 2 in %sparse_ini_file.php on line 20 bool(false) Warning: syntax error, unexpected '='%sparse_ini_file.dat on line 2 in %sparse_ini_file.php on line 26 bool(false) array(1) { ["test"]=> string(8) "new line" } array(1) { ["test"]=> string(16) "test const value" } array(1) { ["section"]=> array(1) { ["test"]=> string(5) "hello" } } array(1) { ["test"]=> string(5) "hello" } array(1) { ["section.test"]=> string(5) "hello" } array(1) { ["section"]=> array(1) { ["section.test"]=> string(5) "hello" } } array(1) { ["section"]=> array(1) { [1]=> string(1) "2" } } array(1) { [1]=> string(1) "2" } array(1) { ["test"]=> string(5) "test4" } array(1) { ["section1"]=> array(1) { ["name"]=> string(5) "value" } } array(3) { ["foo"]=> string(4) "bar1" ["_foo"]=> string(4) "bar2" ["foo_"]=> string(4) "bar3" } Deprecated: Comments starting with '#' are deprecated in %s array(3) { ["foo"]=> string(4) "bar1" ["_foo"]=> string(4) "bar2" ["foo_"]=> string(4) "bar3" } Done