php-src/ext/standard/tests/general_functions/bug49692.phpt

21 lines
369 B
Plaintext
Raw Normal View History

2009-09-28 22:57:41 +00:00
--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) {
[u"sitemap"]=>
2009-09-28 22:57:41 +00:00
array(2) {
[u"/home"]=>
unicode(13) "default:index"
[u"/info"]=>
unicode(12) "default:info"
2009-09-28 22:57:41 +00:00
}
}