Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
--TEST--
2
Test for request #12388: Allow spaces after the key
3
--FILE--
4
<?php
5
require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
6
$datasrc = dirname(__FILE__) . '/bug12388.ini';
7
$root = $config->parseConfig($datasrc, 'genericconf');
8
var_dump($root->toArray());
9
?>
10
--EXPECT--
11
array(1) {
12
  ["root"]=>
13
  array(4) {
14
    ["nospace"]=>
15
    string(5) "value"
16
    ["space_before"]=>
17
    string(5) "value"
18
    ["space_after"]=>
19
    string(5) "value"
20
    ["two_spaces_after"]=>
21
    string(5) "value"
22
  }
23
}