<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Wed, 19 Jun 2013 11:21:38 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Adam Harvey's Blog: $pear->list]]></title>
      <guid>http://www.phpdeveloper.org/news/8833</guid>
      <link>http://www.phpdeveloper.org/news/8833</link>
      <description><![CDATA[<p>
<i>Adam Harvey</i> has a <a href="http://xn--9bi.net/2007/10/13/pear-list/">(very) quick post</a> with a hint for PEAR users out there - how to get a list of installaed packages on the system you're using.
</p>
<blockquote>
I've seen three people ask a variation of how can I get a list of installed PEAR packages from within my PHP script in the last few weeks on IRC, and two just in the last day. Because I'm a helpful sort, here's a little morsel of code that will do just that.
</blockquote>
<p>
<a href="http://xn--9bi.net/2007/10/13/pear-list/">The code</a> loads the PEAR Registry package and loops, via a foreach, through the results from a listPackages() call. It should work with just about any PEAR version.
</p>]]></description>
      <pubDate>Sat, 13 Oct 2007 14:26:00 -0500</pubDate>
    </item>
  </channel>
</rss>
