<?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>Thu, 23 May 2013 13:34:18 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Lars Strojny's Blog: New magic constant in PHP 5.3]]></title>
      <guid>http://www.phpdeveloper.org/news/9691</guid>
      <link>http://www.phpdeveloper.org/news/9691</link>
      <description><![CDATA[<p>
In <a href="http://usrportage.de/archives/878-New-magic-constant-in-PHP-5.3.html">this new blog post</a> today, <i>Lars Strojny</i> talks about a new magic constant that will be joining its brothers in the upcoming PHP 5.3 release - __DIR__.
</p>
<blockquote>
In PHP 5.3 there will be another magic constant __DIR__. [...] To allow this, the internal function php_dirname() has been moved in the Zend Engine and is now called zend_dirname(). Nevertheless an alias still exists.
</blockquote>
<p>
__DIR__ will join the other constants (like __LINE__ and __FUNCTION__) to help give the currently running script a little introspection for things like its filename, what class it's currently in and now, what directory the file currently lives in.
</p>]]></description>
      <pubDate>Fri, 22 Feb 2008 15:02:00 -0600</pubDate>
    </item>
  </channel>
</rss>
