<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Stefan-Marr.de &#187; php</title>
	<atom:link href="http://soft.vub.ac.be/~smarr/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://soft.vub.ac.be/~smarr</link>
	<description>personal and research notes</description>
	<lastBuildDate>Wed, 04 Aug 2010 14:28:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Traits Patch Updated, Backported, and Available on GitHub</title>
		<link>http://soft.vub.ac.be/~smarr/2009/09/traits-patch-updated-backported-and-available-on-github/</link>
		<comments>http://soft.vub.ac.be/~smarr/2009/09/traits-patch-updated-backported-and-available-on-github/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 07:06:10 +0000</pubDate>
		<dc:creator>Stefan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[GitHub]]></category>
		<category><![CDATA[Language Design]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[traits]]></category>

		<guid isPermaLink="false">http://soft.vub.ac.be/~smarr/?p=248</guid>
		<description><![CDATA[PHP 5.3 is already released for a while and starts to settle in. Now it seems to be a good time to philosophize about the future language development of PHP again. To promote this discussion, I backported my Traits-patch to PHP 5.3, fixed some bugs, and used GitHub to publish it. Lets hope that this [...]]]></description>
			<content:encoded><![CDATA[<p>PHP 5.3 is already released for a while and starts to settle in.</p>
<p>Now it seems to be a good time to philosophize about the future language development of PHP again. To promote this discussion, I backported my Traits-patch to PHP 5.3, fixed some bugs, and used GitHub to publish it. Lets hope that this will allow a painless maintenance of the patch.</p>
<p>For the moment, there is no uptodate standalone patch file anymore, but only the GitHub repository.</p>
<ul>
	<li>PHP 6: <a href="http://github.com/gron/php-src/tree/PHP_6-traits">http://github.com/gron/php-src/tree/PHP_6-traits</a></li>
	<li>PHP 5.3: <a href="http://github.com/gron/php-src/tree/PHP_5_3-traits">http://github.com/gron/php-src/tree/PHP_5_3-traits</a></li>
</ul>
<p>For a basic introduction please refer to the RFC (<a href="http://wiki.php.net/rfc/horizontalreuse">http://wiki.php.net/rfc/horizontalreuse</a>) and the test cases available in the source folder Zend/tests/traits.</p>
]]></content:encoded>
			<wfw:commentRss>http://soft.vub.ac.be/~smarr/2009/09/traits-patch-updated-backported-and-available-on-github/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>New Traits Patch Ready for Testing</title>
		<link>http://soft.vub.ac.be/~smarr/2009/01/new-traits-patch-ready-for-testing/</link>
		<comments>http://soft.vub.ac.be/~smarr/2009/01/new-traits-patch-ready-for-testing/#comments</comments>
		<pubDate>Sun, 18 Jan 2009 14:58:15 +0000</pubDate>
		<dc:creator>Stefan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[traits]]></category>

		<guid isPermaLink="false">http://soft.vub.ac.be/~smarr/?p=230</guid>
		<description><![CDATA[Finally, I managed to complete the changes for the traits patch. Since, PHP 5.3 already entered the release cycle and it is not sure whether there will be a PHP 5.4 with new language features, the new patch is written for the PHP6 codebase. In its current version, it implements the RFC with the proposed [...]]]></description>
			<content:encoded><![CDATA[<p>Finally, I managed to complete the changes for the traits patch. Since, PHP 5.3 already entered the release cycle and it is not sure whether there will be a PHP 5.4 with new language features, the new patch is written for the PHP6 codebase.</p>
<p>In its current version, it implements the <a href="http://www.stefan-marr.de/artikel/rfc-horizontal-reuse-for-php.html">RFC</a> with the proposed syntax and functionality. There are still some parts missing for a complete integration into the PHP landscape. Most noticeable is the lack of reflection support at the moment. I will add it, when the patch has reached a level of stability to be included in the official language.</p>
<p>For testing purpose, you can use the following patch, archive with test cases.</p>
<p>The patch is build for <code>cvs -d :pserver:cvsread@cvs.php.net:/repository checkout php6</code>. More information on how to build the PHP source from CVS is available at <a href="http://www.php.net/anoncvs.php">php.net</a>.</p>
<p>Patch:</p>
<ul>
	<li><a href="http://www.stefan-marr.de/traits/traits.patch">traits.patch</a></li>
	<li><a href="http://www.stefan-marr.de/traits/zend-tests-traits.bz2">Test Cases</a></li>
</ul>
<p>In case of any problems applying the patch on the CVS checkout, you can use this code snapshot with traits: <a href="http://www.stefan-marr.de/traits/php6-traits.tar.bz2">php6-traits.tar.bz2</a></p>
]]></content:encoded>
			<wfw:commentRss>http://soft.vub.ac.be/~smarr/2009/01/new-traits-patch-ready-for-testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
