<?php
/**
* PEAR_Info Request #13741 : show list if potential config files
*
* @link http://pear.php.net/bugs/bug.php?id=13741
*
* Use the new selectors of default stylesheet available in PEAR{data_dir}/PEAR_Info
*
* dl { margin: 0 }
*
* dd.cfg_found { color: green; }
* dd.cfg_notfound { color: red; }
*
* NOTICE:
* In this example we simulate 3 cases, a given pear directory
* 1. with a user file, but without system file
* 2. with a system file, but without user file
* 3. with both a user and a system file
*/
require_once 'PEAR/Info.php';
$info = new PEAR_Info('c:\wamp\bin\php\php5.2.6');
$info->display();
?>