<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: $pear-&gt;list</title>
	<atom:link href="http://xn--9bi.net/2007/10/13/pear-list/feed/" rel="self" type="application/rss+xml" />
	<link>http://xn--9bi.net/2007/10/13/pear-list/</link>
	<description>Really, it's all you need</description>
	<lastBuildDate>Sun, 07 Mar 2010 03:16:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: 網站製作學習誌 &#187; [Web] 連結分享</title>
		<link>http://xn--9bi.net/2007/10/13/pear-list/comment-page-1/#comment-14636</link>
		<dc:creator>網站製作學習誌 &#187; [Web] 連結分享</dc:creator>
		<pubDate>Wed, 25 Nov 2009 02:49:32 +0000</pubDate>
		<guid isPermaLink="false">http://xn--9bi.net/2007/10/13/pear-list/#comment-14636</guid>
		<description>[...] $pear-&gt;list [...]</description>
		<content:encoded><![CDATA[<p>[...] $pear-&gt;list [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ken Guest</title>
		<link>http://xn--9bi.net/2007/10/13/pear-list/comment-page-1/#comment-13920</link>
		<dc:creator>Ken Guest</dc:creator>
		<pubDate>Mon, 15 Oct 2007 00:05:59 +0000</pubDate>
		<guid isPermaLink="false">http://xn--9bi.net/2007/10/13/pear-list/#comment-13920</guid>
		<description>This inspired me to find a way to check if certain packages of a specific version are installed:

include &#039;PEAR/Registry.php&#039;;
$reg = new PEAR_Registry;

$packages = array(array(&quot;PEAR&quot;, &quot;1.6.2&quot;),
                  array(&quot;Date&quot;, &quot;1.4.7&quot;),
                  array(&quot;Date_Holidays&quot;, &quot;0.17.1&quot;),
                  array(&quot;Validate_IE&quot;, &quot;0.2.1&quot;));

foreach($packages as $package) {
    $pkg = $reg-&gt;getPackage($package[0]);
    $version = $pkg-&gt;getVersion();
    echo &quot;{$package[0]} - {$package[1]} - &quot;, version_compare($version, $package[1], &quot;&gt;=&quot;) ? &quot;OK&quot;: &quot;BAD&quot;, &quot;\n&quot;;
}</description>
		<content:encoded><![CDATA[<p>This inspired me to find a way to check if certain packages of a specific version are installed:</p>
<p>include &#8216;PEAR/Registry.php&#8217;;<br />
$reg = new PEAR_Registry;</p>
<p>$packages = array(array(&#8220;PEAR&#8221;, &#8220;1.6.2&#8243;),<br />
                  array(&#8220;Date&#8221;, &#8220;1.4.7&#8243;),<br />
                  array(&#8220;Date_Holidays&#8221;, &#8220;0.17.1&#8243;),<br />
                  array(&#8220;Validate_IE&#8221;, &#8220;0.2.1&#8243;));</p>
<p>foreach($packages as $package) {<br />
    $pkg = $reg-&gt;getPackage($package[0]);<br />
    $version = $pkg-&gt;getVersion();<br />
    echo &#8220;{$package[0]} &#8211; {$package[1]} &#8211; &#8220;, version_compare($version, $package[1], &#8220;&gt;=&#8221;) ? &#8220;OK&#8221;: &#8220;BAD&#8221;, &#8220;\n&#8221;;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: developercast.com &#187; Adam Harvey&#8217;s Blog: $pear-&#62;list</title>
		<link>http://xn--9bi.net/2007/10/13/pear-list/comment-page-1/#comment-13919</link>
		<dc:creator>developercast.com &#187; Adam Harvey&#8217;s Blog: $pear-&#62;list</dc:creator>
		<pubDate>Sat, 13 Oct 2007 20:03:08 +0000</pubDate>
		<guid isPermaLink="false">http://xn--9bi.net/2007/10/13/pear-list/#comment-13919</guid>
		<description>[...] Harvey has a (very) quick post with a hint for PEAR users out there - how to get a list of installaed packages on the system [...]</description>
		<content:encoded><![CDATA[<p>[...] Harvey has a (very) quick post with a hint for PEAR users out there &#8211; how to get a list of installaed packages on the system [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PHPDeveloper.org</title>
		<link>http://xn--9bi.net/2007/10/13/pear-list/comment-page-1/#comment-13918</link>
		<dc:creator>PHPDeveloper.org</dc:creator>
		<pubDate>Sat, 13 Oct 2007 18:03:29 +0000</pubDate>
		<guid isPermaLink="false">http://xn--9bi.net/2007/10/13/pear-list/#comment-13918</guid>
		<description>&lt;strong&gt;Adam Harvey&#039;s Blog: $pear-&gt;list...&lt;/strong&gt;

...</description>
		<content:encoded><![CDATA[<p><strong>Adam Harvey&#8217;s Blog: $pear-&gt;list&#8230;</strong></p>
<p>&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel O'Connor</title>
		<link>http://xn--9bi.net/2007/10/13/pear-list/comment-page-1/#comment-13917</link>
		<dc:creator>Daniel O'Connor</dc:creator>
		<pubDate>Sat, 13 Oct 2007 03:46:40 +0000</pubDate>
		<guid isPermaLink="false">http://xn--9bi.net/2007/10/13/pear-list/#comment-13917</guid>
		<description>Oh, that beats PEAR_Info</description>
		<content:encoded><![CDATA[<p>Oh, that beats PEAR_Info</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.029 seconds -->
