<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Wed, 19 Jun 2013 22:22:24 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[David Coallier's Blog: PHP Namespaces (Part 2: Namespace constants)]]></title>
      <guid>http://www.phpdeveloper.org/news/8532</guid>
      <link>http://www.phpdeveloper.org/news/8532</link>
      <description><![CDATA[<p>
Following up from his <a href="http://www.phpdeveloper.org/news/8492">previous post</a> about namespaces in the upcoming PHP6 version of the language, <i>David Coallier</i> has <a href="http://blog.agoraproduction.com/index.php?/archives/48-PHP-Namespaces-Part-2-Namespace-constants.html">posted part two</a>, a look at namespace constants.
</p>
<blockquote>
Hello all, welcome to that part 2 of PHP Namespace education. Again, Dmitry comes up with another patch that has been discussed a bit on the php.internals list and this patch gives us the ability to declare Namespace constants (just like a class constant).
</blockquote>
<p>
Included is some <a href="http://blog.agoraproduction.com/index.php?/archives/48-PHP-Namespaces-Part-2-Namespace-constants.html">versy simple code</a> that defines the constant with the "const" keyword and imports it via a packaged namespace using the double-colons.
</p>]]></description>
      <pubDate>Mon, 27 Aug 2007 08:58:00 -0500</pubDate>
    </item>
  </channel>
</rss>
