[ Index ]
 

Code source de PHP PEAR 1.4.5

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/tests/Config/test/ -> bug2742.phpt (source)

   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


Généré le : Sun Feb 25 14:08:00 2007 par Balluche grâce à PHPXref 0.7