add some windows-style INI entries to tests

This commit is contained in:
Stanislav Malyshev 2008-09-11 00:34:48 +00:00
parent a873cfc134
commit 530ffde4fd
2 changed files with 11 additions and 1 deletions

View File

@ -127,3 +127,6 @@ ini_with-hyphen = with hyphen and underscore
ini.with-hyphen = dot and hyphen
ini-with.hyphen = hyphen and dot
[windows paths]
winpath1="c:\some windows\path\test\new\r\quote \" here\single ' quote\some more"
winpath2="special case\"

View File

@ -15,7 +15,7 @@ var_dump(parse_ini_file($ini_file, 1));
echo "Done.\n";
?>
--EXPECTF--
array(25) {
array(26) {
["basic"]=>
array(15) {
["basicval"]=>
@ -272,5 +272,12 @@ array(25) {
["ini-with.hyphen"]=>
string(14) "hyphen and dot"
}
["windows paths"]=>
array(2) {
["winpath1"]=>
string(69) "c:\some windows\path\test\new\r\quote " here\single ' quote\some more"
["winpath2"]=>
string(13) "special case\"
}
}
Done.