<?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: pecl/operator and Other Neat Stuff</title>
	<atom:link href="http://mikenaberezny.com/2006/02/01/pecloperator/feed/" rel="self" type="application/rss+xml" />
	<link>http://mikenaberezny.com/2006/02/01/pecloperator/</link>
	<description></description>
	<lastBuildDate>Fri, 01 Jul 2011 12:51:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Radek Tetik</title>
		<link>http://mikenaberezny.com/2006/02/01/pecloperator/comment-page-1/#comment-63420</link>
		<dc:creator>Radek Tetik</dc:creator>
		<pubDate>Sat, 24 Nov 2007 15:49:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikenaberezny.com/archives/39#comment-63420</guid>
		<description>By the &quot;spirit of PHP&quot; you mean PHP should be a simple language for simple tasks? Zend now moves PHP into the enterprise so advanced features should be added to language to be competetive. Operator overloding is a nice feature for string, date and similiar classes. It makes life easier.</description>
		<content:encoded><![CDATA[<p>By the &#8220;spirit of PHP&#8221; you mean PHP should be a simple language for simple tasks? Zend now moves PHP into the enterprise so advanced features should be added to language to be competetive. Operator overloding is a nice feature for string, date and similiar classes. It makes life easier.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Naberezny</title>
		<link>http://mikenaberezny.com/2006/02/01/pecloperator/comment-page-1/#comment-292</link>
		<dc:creator>Mike Naberezny</dc:creator>
		<pubDate>Thu, 02 Feb 2006 03:04:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikenaberezny.com/archives/39#comment-292</guid>
		<description>You probably have a great example of this already: the PHAR archive format (PEAR&#039;s PHP_Archive: http://pear.php.net/package/php_archive).  

Your PHP program can write any PHP source code you&#039;d like into a string.  This then gets include()d through a stream wrapper (see http://www.php.net/stream_wrapper_register).  You can do anything you&#039;d like to the string, including completely generating it at runtime.

You can even go so far as to overwrite existing classes (see http://www.php.net/manual/en/function.runkit-import.php) by rewriting the source code for an existing class into a string at runtime, and then feeding the string to runkit_import() through a stream wrapper.</description>
		<content:encoded><![CDATA[<p>You probably have a great example of this already: the PHAR archive format (PEAR&#8217;s PHP_Archive: <a href="http://pear.php.net/package/php_archive" rel="nofollow">http://pear.php.net/package/php_archive</a>).  </p>
<p>Your PHP program can write any PHP source code you&#8217;d like into a string.  This then gets include()d through a stream wrapper (see <a href="http://www.php.net/stream_wrapper_register" rel="nofollow">http://www.php.net/stream_wrapper_register</a>).  You can do anything you&#8217;d like to the string, including completely generating it at runtime.</p>
<p>You can even go so far as to overwrite existing classes (see <a href="http://www.php.net/manual/en/function.runkit-import.php" rel="nofollow">http://www.php.net/manual/en/function.runkit-import.php</a>) by rewriting the source code for an existing class into a string at runtime, and then feeding the string to runkit_import() through a stream wrapper.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stefano Forenza</title>
		<link>http://mikenaberezny.com/2006/02/01/pecloperator/comment-page-1/#comment-291</link>
		<dc:creator>Stefano Forenza</dc:creator>
		<pubDate>Thu, 02 Feb 2006 01:49:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.mikenaberezny.com/archives/39#comment-291</guid>
		<description>Would you post a code example of
&quot;some nice tricks by include()ing runtime-generated code through the stream functions.&quot; ?

Stefano</description>
		<content:encoded><![CDATA[<p>Would you post a code example of<br />
&#8220;some nice tricks by include()ing runtime-generated code through the stream functions.&#8221; ?</p>
<p>Stefano</p>
]]></content:encoded>
	</item>
</channel>
</rss>

