Subversion-Projekte lars-tiefland.php_share

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
--TEST--
2
regression test for bug #7544 - IniCommented
3
--FILE--
4
<?php
5
require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
6
$datasrc = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'bug7544.ini';
7
 
8
$res =& $config->parseConfig($datasrc, 'IniCommented');
9
 
10
$root =& $config->getRoot();
11
 
12
print $root->toString('phparray');
13
 
14
?>
15
--EXPECT--
16
$conf['test']['myattrib1'] = 'wee';
17
$conf['test']['myattrib2'] = '';
18
// comment
19
 
20
// after blank line