Annotation of embedaddon/php/ext/standard/tests/general_functions/bug49692.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: Bug #49692: parse_ini_file() throws errors when key contains '/' (forward slash)
3: --CREDITS--
4: Rafael Dohms <rdohms [at] gmail [dot] com>
5: --FILE--
6: <?php
7:
8: var_dump(parse_ini_file('bug49692.ini', true));
9:
10: ?>
11: --EXPECTF--
12: array(1) {
13: ["sitemap"]=>
14: array(2) {
15: ["/home"]=>
16: string(13) "default:index"
17: ["/info"]=>
18: string(12) "default:info"
19: }
20: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>