<?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: What&#8217;s new in PHP 5.3 &#8211; part 1: namespaces</title>
	<atom:link href="http://blog.felho.hu/whats-new-in-php-53-part-1-namespaces.html/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.felho.hu/whats-new-in-php-53-part-1-namespaces.html</link>
	<description>Random secrets of PHP, web development</description>
	<lastBuildDate>Sun, 20 Jun 2010 17:42:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: PHP 5.3 Zone virtuaalserverites &#171; ZONE.EE</title>
		<link>http://blog.felho.hu/whats-new-in-php-53-part-1-namespaces.html/comment-page-1#comment-57974</link>
		<dc:creator>PHP 5.3 Zone virtuaalserverites &#171; ZONE.EE</dc:creator>
		<pubDate>Tue, 07 Jul 2009 11:46:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.felho.hu/whats-new-in-php-53-part-1-namespaces.html#comment-57974</guid>
		<description>[...] Loe veel&#8230; TÃ¤helepanu vÃ¤Ã¤rib ka asjaolu, et kÃ¤esoleva versiooniga hakatakse vÃ¤lja juurima mÃµningaid omadusi, mis PHP-le lÃ¤bi ajaloo on omajagu halba kuulsust toonud. [...]</description>
		<content:encoded><![CDATA[<p>[...] Loe veel&#8230; TÃ¤helepanu vÃ¤Ã¤rib ka asjaolu, et kÃ¤esoleva versiooniga hakatakse vÃ¤lja juurima mÃµningaid omadusi, mis PHP-le lÃ¤bi ajaloo on omajagu halba kuulsust toonud. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gabriel #CoGUMm. &#187; PHP 5.3.0 RELEASE</title>
		<link>http://blog.felho.hu/whats-new-in-php-53-part-1-namespaces.html/comment-page-1#comment-57614</link>
		<dc:creator>gabriel #CoGUMm. &#187; PHP 5.3.0 RELEASE</dc:creator>
		<pubDate>Thu, 02 Jul 2009 14:52:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.felho.hu/whats-new-in-php-53-part-1-namespaces.html#comment-57614</guid>
		<description>[...] mais informaÃ§Ãµes sobre namespaces, visite aqui(em portugues), aqui ou [...]</description>
		<content:encoded><![CDATA[<p>[...] mais informaÃ§Ãµes sobre namespaces, visite aqui(em portugues), aqui ou [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Phil</title>
		<link>http://blog.felho.hu/whats-new-in-php-53-part-1-namespaces.html/comment-page-1#comment-56264</link>
		<dc:creator>Phil</dc:creator>
		<pubDate>Fri, 12 Jun 2009 11:45:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.felho.hu/whats-new-in-php-53-part-1-namespaces.html#comment-56264</guid>
		<description>RC3 is now out :o) Shouldn&#039;t be long now till the final release. I really like the SPL class and the mysqlnd driver</description>
		<content:encoded><![CDATA[<p>RC3 is now out <img src='http://blog.felho.hu/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> ) Shouldn&#8217;t be long now till the final release. I really like the SPL class and the mysqlnd driver</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PHP 5.3 RC3 released &#171; PHP Programming</title>
		<link>http://blog.felho.hu/whats-new-in-php-53-part-1-namespaces.html/comment-page-1#comment-56263</link>
		<dc:creator>PHP 5.3 RC3 released &#171; PHP Programming</dc:creator>
		<pubDate>Fri, 12 Jun 2009 11:42:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.felho.hu/whats-new-in-php-53-part-1-namespaces.html#comment-56263</guid>
		<description>[...] haven&#8217;t already downloaded it and tested it out now is the time to do it. PHP 5.3 brings a whole plethera of new features including the SPLFxiedArray class (you can no longer disable this) as well as PHP&#8217;s native [...]</description>
		<content:encoded><![CDATA[<p>[...] haven&#8217;t already downloaded it and tested it out now is the time to do it. PHP 5.3 brings a whole plethera of new features including the SPLFxiedArray class (you can no longer disable this) as well as PHP&#8217;s native [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lambda functions in PHP?</title>
		<link>http://blog.felho.hu/whats-new-in-php-53-part-1-namespaces.html/comment-page-1#comment-50341</link>
		<dc:creator>Lambda functions in PHP?</dc:creator>
		<pubDate>Tue, 31 Mar 2009 05:25:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.felho.hu/whats-new-in-php-53-part-1-namespaces.html#comment-50341</guid>
		<description>[...] What&#8217;s new in PHP 5.3. [...]</description>
		<content:encoded><![CDATA[<p>[...] What&#8217;s new in PHP 5.3. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anjanesh</title>
		<link>http://blog.felho.hu/whats-new-in-php-53-part-1-namespaces.html/comment-page-1#comment-30352</link>
		<dc:creator>Anjanesh</dc:creator>
		<pubDate>Thu, 11 Dec 2008 11:30:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.felho.hu/whats-new-in-php-53-part-1-namespaces.html#comment-30352</guid>
		<description>Its no more scope resolution operator since alpha3. They&#039;ve changed it to backslash(\). Also bracketed syntax is available.

&lt;code&gt;namespace my\foo
{
        class MyClass {}
        function myFunc() { }
        const MY_CONST = &#039;foo&#039;;
}

namespace you\foo
{
        class MyException extends \Exception
        {
        }
}&lt;/code&gt;
But the weirdest thing is &lt;strong&gt;extends Exception&lt;/strong&gt; tries to look for Exception in the current namespace and doesnt automatically look for it in the global namespace. This seems to hold for any class in the namespace.

&lt;strong&gt;class MyClass extends MyGlobalClass&lt;/strong&gt; fails to look for MyGlobalClass in the global namespace. We need to explicitly specify &lt;strong&gt;\MyGlobalClass&lt;/strong&gt;</description>
		<content:encoded><![CDATA[<p>Its no more scope resolution operator since alpha3. They&#8217;ve changed it to backslash(\). Also bracketed syntax is available.</p>
<p><code>namespace my\foo<br />
{<br />
        class MyClass {}<br />
        function myFunc() { }<br />
        const MY_CONST = 'foo';<br />
}</p>
<p>namespace you\foo<br />
{<br />
        class MyException extends \Exception<br />
        {<br />
        }<br />
}</code><br />
But the weirdest thing is <strong>extends Exception</strong> tries to look for Exception in the current namespace and doesnt automatically look for it in the global namespace. This seems to hold for any class in the namespace.</p>
<p><strong>class MyClass extends MyGlobalClass</strong> fails to look for MyGlobalClass in the global namespace. We need to explicitly specify <strong>\MyGlobalClass</strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rafael Dohms &#187; The road to PHP 5.3: Namespaces</title>
		<link>http://blog.felho.hu/whats-new-in-php-53-part-1-namespaces.html/comment-page-1#comment-15147</link>
		<dc:creator>Rafael Dohms &#187; The road to PHP 5.3: Namespaces</dc:creator>
		<pubDate>Tue, 12 Aug 2008 17:34:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.felho.hu/whats-new-in-php-53-part-1-namespaces.html#comment-15147</guid>
		<description>[...] You can read more details here: http://blog.felho.hu/whats-new-in-php-53-part-1-namespaces.html  [...]</description>
		<content:encoded><![CDATA[<p>[...] You can read more details here: <a href="http://blog.felho.hu/whats-new-in-php-53-part-1-namespaces.html" rel="nofollow">http://blog.felho.hu/whats-new-in-php-53-part-1-namespaces.html</a>  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mma</title>
		<link>http://blog.felho.hu/whats-new-in-php-53-part-1-namespaces.html/comment-page-1#comment-13397</link>
		<dc:creator>mma</dc:creator>
		<pubDate>Sun, 20 Jul 2008 21:37:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.felho.hu/whats-new-in-php-53-part-1-namespaces.html#comment-13397</guid>
		<description>I find this blog very interesting, i will be here everyday till now. Greetings</description>
		<content:encoded><![CDATA[<p>I find this blog very interesting, i will be here everyday till now. Greetings</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: What&#8217;s new in PHP 5.3 &#171; we&#8217;re only gonna die from our arrogance</title>
		<link>http://blog.felho.hu/whats-new-in-php-53-part-1-namespaces.html/comment-page-1#comment-6188</link>
		<dc:creator>What&#8217;s new in PHP 5.3 &#171; we&#8217;re only gonna die from our arrogance</dc:creator>
		<pubDate>Thu, 10 Apr 2008 11:00:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.felho.hu/whats-new-in-php-53-part-1-namespaces.html#comment-6188</guid>
		<description>[...] What&#8217;s new in PHP 5.3 - part 1: namespaces [...]</description>
		<content:encoded><![CDATA[<p>[...] What&#8217;s new in PHP 5.3 &#8211; part 1: namespaces [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Novidades do PHP 5.3</title>
		<link>http://blog.felho.hu/whats-new-in-php-53-part-1-namespaces.html/comment-page-1#comment-4729</link>
		<dc:creator>Novidades do PHP 5.3</dc:creator>
		<pubDate>Thu, 20 Mar 2008 10:17:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.felho.hu/whats-new-in-php-53-part-1-namespaces.html#comment-4729</guid>
		<description>[...] = new minhaClasse::executar();  Para mais informações sobre namespaces, visite aqui(em portugues), aqui ou [...]</description>
		<content:encoded><![CDATA[<p>[...] = new minhaClasse::executar();  Para mais informações sobre namespaces, visite aqui(em portugues), aqui ou [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

