The output may be customized by passing one or more of the PEAR_INFO_* constants bitwise values summed together in the optional 'resume' options parameter.
...
...
This example requires mandatory resources :
Include the mandatory library at line 2, then instanciated a new PEAR_Info object at line 8, telling where to find the PEAR config file (second parameter), and a hash of options (fourth parameter), to filter PEAR information output. And finally display result at line 10.
resume key tell, with usage of PEAR_INFO_* constant, what information to display.
channels key tell what package information channel to display. Default is only, pear.php.net.