<?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 06:56:03 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[WebDevLogs.com: Which way to get the PHP self script name is the fastest?]]></title>
      <guid>http://www.phpdeveloper.org/news/7087</guid>
      <link>http://www.phpdeveloper.org/news/7087</link>
      <description><![CDATA[<p>
From the WebDevLogs.com blog today, there's <a href="http://www.webdevlogs.com/2007/01/11/which-way-to-get-the-php-self-script-name-is-the-fastest/">some benchmarking results</a> from <i>Mgcci</i>'s look at PHP's methods for grabbing some common data - the script's own name. This includes the "magic" call to __FILE__:
</p>
<blockquote>
The result shows that __FILE__ is the fastest, so use that when you don't have to use any other method to find the script's self. __FILE__ is a built in constant show the location of the running script.
</blockquote>
<p>
He gives the benchmark output (time measurement) and <a href="http://www.webdevlogs.com/2007/01/11/which-way-to-get-the-php-self-script-name-is-the-fastest/">includes the code</a> that he used to perform the tests.
</p>]]></description>
      <pubDate>Fri, 12 Jan 2007 15:36:00 -0600</pubDate>
    </item>
  </channel>
</rss>
