<?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, 22 May 2013 04:44:26 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Guilherme Blanco's Blog: register_superglobal("¯name"¯);]]></title>
      <guid>http://www.phpdeveloper.org/news/7222</guid>
      <link>http://www.phpdeveloper.org/news/7222</link>
      <description><![CDATA[<p>
<i>Guilherme Blanco</i> is proposing an interesting idea in <a href="http://blog.bisna.com/archives/32">his new blog entry</a> - adding built in functionality to the PHP core that would allow a developer to register their own custom suprtglobals.
</p>
<blockquote>
Currently, we deal with a lot of interesting situations of web applications, and some really interesting are the superglobals variables. Seems there <a href="http://devzone.zend.com/node/view/id/1621#Heading5">will be a change</a> in superglobals soon and that's why I decided to post about it here.
</blockquote>
<p>
His example of the need for something like this is as an alternative to using the Singleton pattern to work with multiple database connections in an application. His proposal is that, by including this register_superglobal functionality, it would make it easier to share these kinds of connections. He even includes a simple code example of how it might look.
</p>]]></description>
      <pubDate>Mon, 05 Feb 2007 12:02:00 -0600</pubDate>
    </item>
  </channel>
</rss>
