php-src/ext/standard/tests/general_functions/bug49692.phpt
2009-09-29 14:34:06 +00:00

21 lines
364 B
PHP

--TEST--
Bug #49692: parse_ini_file() throws errors when key contains '/' (forward slash)
--CREDITS--
Rafael Dohms <rdohms [at] gmail [dot] com>
--FILE--
<?php
var_dump(parse_ini_file('bug49692.ini', true));
?>
--EXPECTF--
array(1) {
["sitemap"]=>
array(2) {
["/home"]=>
string(13) "default:index"
["/info"]=>
string(12) "default:info"
}
}