[ 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/ -> bug7544-inifile.phpt (source)

   1  --TEST--
   2  regression test for bug #7544 - IniFile
   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, 'IniFile');
   9  
  10  $root =& $config->getRoot();
  11  
  12  print $root->toString('phparray');
  13  
  14  ?>
  15  --EXPECT--
  16  $conf['test']['myattrib1'] = 'wee';
  17  $conf['test']['myattrib2'] = '';


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