<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.4" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Using globals in PHP</title>
	<link>http://phpit.net/article/using-globals-php/</link>
	<description>PHPit has dozens of PHP articles, codesnippets and FAQ's.</description>
	<pubDate>Sun, 31 Aug 2008 08:20:32 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.4</generator>

	<item>
		<title>by: Eric Lin</title>
		<link>http://phpit.net/article/using-globals-php/#comment-7379</link>
		<pubDate>Wed, 12 Jul 2006 03:22:25 +0000</pubDate>
		<guid>http://phpit.net/article/using-globals-php/#comment-7379</guid>
					<description>Very nice tutorial, I have been looking ways to improve my coding, and I will use this technique on my website.</description>
		<content:encoded><![CDATA[<p>Very nice tutorial, I have been looking ways to improve my coding, and I will use this technique on my website.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Spavkov</title>
		<link>http://phpit.net/article/using-globals-php/#comment-6963</link>
		<pubDate>Sun, 09 Jul 2006 10:17:52 +0000</pubDate>
		<guid>http://phpit.net/article/using-globals-php/#comment-6963</guid>
					<description>This article is very good.
It points out some nice solutions...

i hate using globals, and now i got the idea how to avoid it...

thanks to the author...</description>
		<content:encoded><![CDATA[<p>This article is very good.<br />
It points out some nice solutions&#8230;</p>
<p>i hate using globals, and now i got the idea how to avoid it&#8230;</p>
<p>thanks to the author&#8230;
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: DevBeta: Shawn Sandy on design, development and technology &#187; Blog Archive &#187; PHPit - Totally PHP » Using globals in PHP</title>
		<link>http://phpit.net/article/using-globals-php/#comment-6523</link>
		<pubDate>Wed, 05 Jul 2006 02:12:47 +0000</pubDate>
		<guid>http://phpit.net/article/using-globals-php/#comment-6523</guid>
					<description>[...] PHPit - Totally PHP » Using globals in PHP In this article you will be shown how to properly use globals in PHP. We will take a look at the global keyword, function arguments, Singletons and the Registry pattern. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] PHPit - Totally PHP » Using globals in PHP In this article you will be shown how to properly use globals in PHP. We will take a look at the global keyword, function arguments, Singletons and the Registry pattern. [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Gurudutt Verma</title>
		<link>http://phpit.net/article/using-globals-php/#comment-6056</link>
		<pubDate>Thu, 29 Jun 2006 20:56:12 +0000</pubDate>
		<guid>http://phpit.net/article/using-globals-php/#comment-6056</guid>
					<description>Hi
I am kind of new to php and I liked this technique, but still insted of using Class Registry Why don't you use simple array here and that will saveral function call, and that may improve the prformance, 

I mean to say we are using globals because in most cases we want to improve speed of the system and if we again create several classes and function then it may slow down the system.

Please correct me if I am wrong. I want to learn php</description>
		<content:encoded><![CDATA[<p>Hi<br />
I am kind of new to php and I liked this technique, but still insted of using Class Registry Why don&#8217;t you use simple array here and that will saveral function call, and that may improve the prformance, </p>
<p>I mean to say we are using globals because in most cases we want to improve speed of the system and if we again create several classes and function then it may slow down the system.</p>
<p>Please correct me if I am wrong. I want to learn php
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Project D.O</title>
		<link>http://phpit.net/article/using-globals-php/#comment-5910</link>
		<pubDate>Wed, 28 Jun 2006 18:59:15 +0000</pubDate>
		<guid>http://phpit.net/article/using-globals-php/#comment-5910</guid>
					<description>Why not just use Constants instead? There also various ways to register certain globals and constants to, I use:

$GLOBALS["constants"][] array("function" =&#62; "", "file" =&#62; "", "line" =&#62; "", "name" =&#62; "");

I can iterate over this array and find out where I place what, when, where and why, plus I could extend the array with anything I want, even if I want, wrap it in a function:

function register_constant($array_constant) {

}

I'm using techniques such as this and others on my site and in its various applications.</description>
		<content:encoded><![CDATA[<p>Why not just use Constants instead? There also various ways to register certain globals and constants to, I use:</p>
<p>$GLOBALS[&#8221;constants&#8221;][] array(&#8221;function&#8221; =&gt; &#8220;&#8221;, &#8220;file&#8221; =&gt; &#8220;&#8221;, &#8220;line&#8221; =&gt; &#8220;&#8221;, &#8220;name&#8221; =&gt; &#8220;&#8221;);</p>
<p>I can iterate over this array and find out where I place what, when, where and why, plus I could extend the array with anything I want, even if I want, wrap it in a function:</p>
<p>function register_constant($array_constant) {</p>
<p>}</p>
<p>I&#8217;m using techniques such as this and others on my site and in its various applications.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: PHPDeveloper.org</title>
		<link>http://phpit.net/article/using-globals-php/#comment-5799</link>
		<pubDate>Tue, 27 Jun 2006 21:19:53 +0000</pubDate>
		<guid>http://phpit.net/article/using-globals-php/#comment-5799</guid>
					<description>&lt;strong&gt;PHPit.net: Using globals in PHP&lt;/strong&gt;

</description>
		<content:encoded><![CDATA[<p><strong>PHPit.net: Using globals in PHP</strong>
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Casa's little Blog</title>
		<link>http://phpit.net/article/using-globals-php/#comment-5793</link>
		<pubDate>Tue, 27 Jun 2006 19:33:35 +0000</pubDate>
		<guid>http://phpit.net/article/using-globals-php/#comment-5793</guid>
					<description>&lt;strong&gt;Using globals in PHP&lt;/strong&gt;

The headline could misslead you   
PHPit.net published an article how to use GLOBALs, how to use singeltons and the registry pattern in PHP.
Nice to read and includes some hints for people having trouble understanding or who wants to know what those bu...</description>
		<content:encoded><![CDATA[<p><strong>Using globals in PHP</strong></p>
<p>The headline could misslead you<br />
PHPit.net published an article how to use GLOBALs, how to use singeltons and the registry pattern in PHP.<br />
Nice to read and includes some hints for people having trouble understanding or who wants to know what those bu&#8230;
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
