mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
add some windows-style INI entries to tests
This commit is contained in:
parent
a873cfc134
commit
530ffde4fd
@ -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\"
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user