<?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: Advantages of  using the PEAR class naming convention</title>
	<atom:link href="http://phpkitchen.com/2005/03/advantages-of-using-the-pear-class-naming-convention/feed/" rel="self" type="application/rss+xml" />
	<link>http://phpkitchen.com/2005/03/advantages-of-using-the-pear-class-naming-convention/</link>
	<description>PHP and Web Development News and Tips</description>
	<lastBuildDate>Wed, 21 Jul 2010 04:21:34 +0100</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Lorenzo Alberton</title>
		<link>http://phpkitchen.com/2005/03/advantages-of-using-the-pear-class-naming-convention/comment-page-1/#comment-500</link>
		<dc:creator>Lorenzo Alberton</dc:creator>
		<pubDate>Thu, 26 Oct 2006 15:38:41 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress/?p=663#comment-500</guid>
		<description>A clarification note (i.e. an excuse to say &#039;hallo!&#039;):

DIRECTORY_SEPARATOR is available since PHP 4.0.6.
You probably meant &#039;PATH_SEPARATOR&#039;, which  was introduced with PHP 4.3.0-RC2, and is defined in PEAR.php if the PHP version in use is lower.
Anyway, str_replace(&#039;_&#039;, &#039;/&#039;, $class) will work just fine on every platform.

cheers</description>
		<content:encoded><![CDATA[<p>A clarification note (i.e. an excuse to say &#8216;hallo!&#8217;):</p>
<p>DIRECTORY_SEPARATOR is available since PHP 4.0.6.<br />
You probably meant &#8216;PATH_SEPARATOR&#8217;, which  was introduced with PHP 4.3.0-RC2, and is defined in PEAR.php if the PHP version in use is lower.<br />
Anyway, str_replace(&#8217;_', &#8216;/&#8217;, $class) will work just fine on every platform.</p>
<p>cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Claus Jørgensen</title>
		<link>http://phpkitchen.com/2005/03/advantages-of-using-the-pear-class-naming-convention/comment-page-1/#comment-499</link>
		<dc:creator>Claus Jørgensen</dc:creator>
		<pubDate>Thu, 26 Oct 2006 15:19:08 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress/?p=663#comment-499</guid>
		<description>Great idea, funny enough never though of this.

Btw. DIRECTORY_SEPARATOR is a PHP constant, not a PEAR constant.</description>
		<content:encoded><![CDATA[<p>Great idea, funny enough never though of this.</p>
<p>Btw. DIRECTORY_SEPARATOR is a PHP constant, not a PEAR constant.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul M. Jones</title>
		<link>http://phpkitchen.com/2005/03/advantages-of-using-the-pear-class-naming-convention/comment-page-1/#comment-498</link>
		<dc:creator>Paul M. Jones</dc:creator>
		<pubDate>Thu, 26 Oct 2006 15:14:48 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress/?p=663#comment-498</guid>
		<description>Hi Demian -- PATH_SEPARATOR and DIRECTORY_SEPARATOR are both available directly in recent 4.x branches (although earlier versions did not have both).</description>
		<content:encoded><![CDATA[<p>Hi Demian &#8212; PATH_SEPARATOR and DIRECTORY_SEPARATOR are both available directly in recent 4.x branches (although earlier versions did not have both).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Wyles</title>
		<link>http://phpkitchen.com/2005/03/advantages-of-using-the-pear-class-naming-convention/comment-page-1/#comment-501</link>
		<dc:creator>John Wyles</dc:creator>
		<pubDate>Fri, 06 Oct 2006 01:08:18 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress/?p=663#comment-501</guid>
		<description>I think you both mean: &quot;str_replace&quot; :o)</description>
		<content:encoded><![CDATA[<p>I think you both mean: &#8220;str_replace&#8221; <img src='http://phpkitchen.com/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: demian</title>
		<link>http://phpkitchen.com/2005/03/advantages-of-using-the-pear-class-naming-convention/comment-page-1/#comment-497</link>
		<dc:creator>demian</dc:creator>
		<pubDate>Fri, 11 Mar 2005 07:35:30 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress/?p=663#comment-497</guid>
		<description>as far as I remember, the DIRECTORY_SEPARATOR constant is only available once you load PEAR.php, if you have this all the better.

cheers

Demian</description>
		<content:encoded><![CDATA[<p>as far as I remember, the DIRECTORY_SEPARATOR constant is only available once you load PEAR.php, if you have this all the better.</p>
<p>cheers</p>
<p>Demian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bubblenut</title>
		<link>http://phpkitchen.com/2005/03/advantages-of-using-the-pear-class-naming-convention/comment-page-1/#comment-496</link>
		<dc:creator>bubblenut</dc:creator>
		<pubDate>Wed, 09 Mar 2005 16:04:37 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress/?p=663#comment-496</guid>
		<description>Shouldn&#039;t that be &lt;pre&gt;&lt;code&gt;function __autoload(&#36;class){  &#36;filename = strreplace(&#039;_&#039;, DIRECTORY_SEPERATOR, &#36;class) . &#039;.php&#039;;  @require_once &#36;filename;}&lt;/code&gt;&lt;/pre&gt;;p</description>
		<content:encoded><![CDATA[<p>Shouldn&#8217;t that be
<pre><code>
function __autoload(&#36;class)
{
  &#36;filename = strreplace('_', DIRECTORY_SEPERATOR, &#36;class) . '.php';
  @require_once &#36;filename;
}
</code></pre>
<p>;p</p>
]]></content:encoded>
	</item>
</channel>
</rss>
