<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: PHP Best Practices in Performance &#8211; Part 1</title>
	<atom:link href="http://www.devtheweb.net/blog/2010/02/09/php-best-practices-in-performance/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.devtheweb.net/blog/2010/02/09/php-best-practices-in-performance/</link>
	<description>for Those Who Develop Something on the Web</description>
	<lastBuildDate>Wed, 28 Jul 2010 03:56:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Julius Beckmann</title>
		<link>http://www.devtheweb.net/blog/2010/02/09/php-best-practices-in-performance/comment-page-1/#comment-255</link>
		<dc:creator>Julius Beckmann</dc:creator>
		<pubDate>Wed, 10 Feb 2010 07:33:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.devtheweb.net/blog/?p=926#comment-255</guid>
		<description>1. Is a myth. Ouput buffering and other stuff have much more impact than that.

2. Micro optimization. You can use global variables for caching global application stuff.

3. Correct. Best practice is to define a constant like &quot;DIR_INC&quot;.

4. Correct. Check out my loop battle :D
http://juliusbeckmann.de/blog/php-foreach-vs-while-vs-for-the-loop-battle.html

7. Persistent database connections are normally faster and should NOT be closed! Although a not persistent connection will always be closed on script end.</description>
		<content:encoded><![CDATA[<p>1. Is a myth. Ouput buffering and other stuff have much more impact than that.</p>
<p>2. Micro optimization. You can use global variables for caching global application stuff.</p>
<p>3. Correct. Best practice is to define a constant like &#8220;DIR_INC&#8221;.</p>
<p>4. Correct. Check out my loop battle :D<br />
<a href="http://juliusbeckmann.de/blog/php-foreach-vs-while-vs-for-the-loop-battle.html" rel="nofollow">http://juliusbeckmann.de/blog/php-foreach-vs-while-vs-for-the-loop-battle.html</a></p>
<p>7. Persistent database connections are normally faster and should NOT be closed! Although a not persistent connection will always be closed on script end.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
