Details |
Letzte Änderung |
Log anzeigen
| RSS feed
| Revision |
Autor |
Zeilennr. |
Zeile |
| 1 |
lars |
1 |
--TEST--
|
|
|
2 |
test for bug 2742
|
|
|
3 |
--FILE--
|
|
|
4 |
<?php
|
|
|
5 |
require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
|
|
|
6 |
$datasrc = dirname(__FILE__) . '/bug2742.ini';
|
|
|
7 |
$root = &$config->parseConfig($datasrc, 'inicommented');
|
|
|
8 |
if ($phpt->assertNoErrors('problem!')) {
|
|
|
9 |
$phpt->assertEquals('$php_ini[\'var\'] = \'1234\';',
|
|
|
10 |
$root->toString('phparray', array('name' => 'php_ini')),
|
|
|
11 |
'convert var = 1234 to array');
|
|
|
12 |
}
|
|
|
13 |
echo 'tests done';
|
|
|
14 |
?>
|
|
|
15 |
--EXPECT--
|
|
|
16 |
tests done
|