<?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>Tue, 21 May 2013 10:56:18 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Robert Basic's Blog: A real gem - PHP_CompatInfo]]></title>
      <guid>http://www.phpdeveloper.org/news/15644</guid>
      <link>http://www.phpdeveloper.org/news/15644</link>
      <description><![CDATA[<p>
In <a href="http://robertbasic.com/blog/a-real-gem-php_compatinfo/">this new post</a> to his blog <i>Robert Basic</i> takes a look at what he calls a "real gem" in defining the requirements of his application - <a href="http://pear.php.net/package/PHP_CompatInfo">PHP_CompatInfo</a>.
</p>
<blockquote>
Last night I was pondering how nice would it be to have a tool of some sort, that would simply spit out what version of PHP does my app require. Something like: here are my .php files, what PHP version and/or extensions do I need for it? First I thought about jumping right in and writing it myself, but hey, this kind of a tool sounds way to useful not to be written already! After a bit of a googling there it was: <a href="http://pear.php.net/package/PHP_CompatInfo">PHP_CompatInfo</a>. A nice PEAR package that can tell me everything I want about my code and even a bit more.
</blockquote>
<p>
He includes a code snippet showing it in action. It's a basic example that defines the driver type to use, options and the directory to parse through (using parseDir() naturally). Other output formats are available too like CSV and HTML.
</p>]]></description>
      <pubDate>Tue, 28 Dec 2010 09:34:40 -0600</pubDate>
    </item>
  </channel>
</rss>
