summaryrefslogtreecommitdiff
path: root/ext/standard/tests/general_functions/bug49692.phpt
blob: 80a1612d9e50449596ea4a77d6ff886db4a5e0f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--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"
  }
}