<?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: Adding Extension Methods to PHP</title>
	<atom:link href="http://cdmckay.org/blog/2010/04/23/adding-extension-methods-to-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://cdmckay.org/blog/2010/04/23/adding-extension-methods-to-php/</link>
	<description>Programming and Game Development</description>
	<lastBuildDate>Mon, 02 Apr 2012 20:01:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: PHP Developer</title>
		<link>http://cdmckay.org/blog/2010/04/23/adding-extension-methods-to-php/comment-page-1/#comment-424</link>
		<dc:creator>PHP Developer</dc:creator>
		<pubDate>Sat, 24 Apr 2010 03:48:58 +0000</pubDate>
		<guid isPermaLink="false">http://cdmckay.org/blog/?p=1432#comment-424</guid>
		<description>great article! I havent been using 5.3 enough to playing around with new features - but this just convinced me to start :)</description>
		<content:encoded><![CDATA[<p>great article! I havent been using 5.3 enough to playing around with new features &#8211; but this just convinced me to start <img src='http://cdmckay.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: uberVU - social comments</title>
		<link>http://cdmckay.org/blog/2010/04/23/adding-extension-methods-to-php/comment-page-1/#comment-422</link>
		<dc:creator>uberVU - social comments</dc:creator>
		<pubDate>Fri, 23 Apr 2010 22:24:53 +0000</pubDate>
		<guid isPermaLink="false">http://cdmckay.org/blog/?p=1432#comment-422</guid>
		<description>&lt;strong&gt;Social comments and analytics for this post...&lt;/strong&gt;

This post was mentioned on Twitter by hntweets: Adding Extension Methods to PHP: http://bit.ly/bRsJzl Comments: http://bit.ly/9evzhk...</description>
		<content:encoded><![CDATA[<p><strong>Social comments and analytics for this post&#8230;</strong></p>
<p>This post was mentioned on Twitter by hntweets: Adding Extension Methods to PHP: <a href="http://bit.ly/bRsJzl" >http://bit.ly/bRsJzl</a> Comments: <a href="http://bit.ly/9evzhk" >http://bit.ly/9evzhk</a>&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cdmckay</title>
		<link>http://cdmckay.org/blog/2010/04/23/adding-extension-methods-to-php/comment-page-1/#comment-421</link>
		<dc:creator>cdmckay</dc:creator>
		<pubDate>Fri, 23 Apr 2010 22:00:17 +0000</pubDate>
		<guid isPermaLink="false">http://cdmckay.org/blog/?p=1432#comment-421</guid>
		<description>@m0sh3g: There&#039;s no particular reason, it just looks prettier with closures :)</description>
		<content:encoded><![CDATA[<p>@m0sh3g: There&#8217;s no particular reason, it just looks prettier with closures <img src='http://cdmckay.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: m0sh3g</title>
		<link>http://cdmckay.org/blog/2010/04/23/adding-extension-methods-to-php/comment-page-1/#comment-420</link>
		<dc:creator>m0sh3g</dc:creator>
		<pubDate>Fri, 23 Apr 2010 21:51:06 +0000</pubDate>
		<guid isPermaLink="false">http://cdmckay.org/blog/?p=1432#comment-420</guid>
		<description>Thanks for great idea :)

Is there any specific reason you&#039;re limiting it to closures in description and not regular callbacks for users of PHP 5.x ?

function extended_method($self, $arg) {
  //...
}
Bug::addMethod(&quot;punch&quot;, &quot;extended_method&quot;);

OR 

class NewBug {
    public function extended_method($self, $arg) {
        //...
    }
}
Bug::addMethod(&quot;punch&quot;, array(&quot;NewBug&quot;, &quot;extended_method&quot;));</description>
		<content:encoded><![CDATA[<p>Thanks for great idea <img src='http://cdmckay.org/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Is there any specific reason you&#8217;re limiting it to closures in description and not regular callbacks for users of PHP 5.x ?</p>
<p>function extended_method($self, $arg) {<br />
  //&#8230;<br />
}<br />
Bug::addMethod(&#8220;punch&#8221;, &#8220;extended_method&#8221;);</p>
<p>OR </p>
<p>class NewBug {<br />
    public function extended_method($self, $arg) {<br />
        //&#8230;<br />
    }<br />
}<br />
Bug::addMethod(&#8220;punch&#8221;, array(&#8220;NewBug&#8221;, &#8220;extended_method&#8221;));</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tweets that mention Adding Extension Methods to PHP » Cameron McKay -- Topsy.com</title>
		<link>http://cdmckay.org/blog/2010/04/23/adding-extension-methods-to-php/comment-page-1/#comment-419</link>
		<dc:creator>Tweets that mention Adding Extension Methods to PHP » Cameron McKay -- Topsy.com</dc:creator>
		<pubDate>Fri, 23 Apr 2010 21:28:26 +0000</pubDate>
		<guid isPermaLink="false">http://cdmckay.org/blog/?p=1432#comment-419</guid>
		<description>[...] This post was mentioned on Twitter by kicauan, Hacker News. Hacker News said: Adding Extension Methods to PHP: http://bit.ly/bRsJzl Comments: http://bit.ly/9evzhk [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by kicauan, Hacker News. Hacker News said: Adding Extension Methods to PHP: <a href="http://bit.ly/bRsJzl" >http://bit.ly/bRsJzl</a> Comments: <a href="http://bit.ly/9evzhk" >http://bit.ly/9evzhk</a> [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

