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

   1  --TEST--
   2  regression test for bug #8357 - IniFile
   3  --FILE--
   4  <?php
   5  require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'setup.php.inc';
   6  $datasrc = dirname(__FILE__) . DIRECTORY_SEPARATOR . 'bug8357.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['meta']['robots'][0] = 'index';
  17  $conf['meta']['robots'][1] = 'follow';
  18  $conf['meta']['keywords'][0] = 'key';
  19  $conf['meta']['keywords'][1] = 'words';


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