| 1 |
lars |
1 |
<?php
|
|
|
2 |
/**
|
|
|
3 |
* Outputs lots of PEAR information
|
|
|
4 |
*
|
|
|
5 |
* The output may be customized by passing one or more of the following constants
|
|
|
6 |
* bitwise values summed together in the optional 'resume' options parameter.
|
|
|
7 |
* One can also combine the respective constants or bitwise values together
|
|
|
8 |
* with the or operator.
|
|
|
9 |
*
|
|
|
10 |
* PHP versions 4 and 5
|
|
|
11 |
*
|
|
|
12 |
* @category PEAR
|
|
|
13 |
* @package PEAR_Info
|
|
|
14 |
* @author Laurent Laville <pear@laurent-laville.org>
|
|
|
15 |
* @license http://www.php.net/license/3_01.txt PHP License 3.01
|
|
|
16 |
* @version CVS: $Id: pear_info5.php,v 1.5 2008/10/12 16:18:31 farell Exp $
|
|
|
17 |
* @link http://pear.php.net/package/PEAR_Info
|
|
|
18 |
* @ignore
|
|
|
19 |
*/
|
|
|
20 |
|
|
|
21 |
require_once 'PEAR/Info.php';
|
|
|
22 |
|
|
|
23 |
$options = array('resume' => PEAR_INFO_GENERAL | PEAR_INFO_CHANNELS |
|
|
|
24 |
PEAR_INFO_PACKAGES_VERSION | PEAR_INFO_FULLPAGE,
|
|
|
25 |
'channels' => array('pear.php.net', '__uri'));
|
|
|
26 |
|
|
|
27 |
$info = new PEAR_Info('', 'c:\wamp\bin\php\php5.2.6\pear.ini', '', $options);
|
|
|
28 |
$info->display();
|
|
|
29 |
?>
|