<?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: 43 Ways to Optimize your PHP Code</title>
	<atom:link href="http://www.openjason.com/2007/10/31/43-ways-to-optimize-your-php-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.openjason.com/2007/10/31/43-ways-to-optimize-your-php-code/</link>
	<description>Weblog of all things Open Source, Web 2.0, Joomla!, and more...</description>
	<lastBuildDate>Thu, 26 Aug 2010 11:23:04 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: fab</title>
		<link>http://www.openjason.com/2007/10/31/43-ways-to-optimize-your-php-code/comment-page-1/#comment-1849</link>
		<dc:creator>fab</dc:creator>
		<pubDate>Thu, 01 Jul 2010 14:52:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.openjason.com/2007/10/31/43-ways-to-optimize-your-php-code/#comment-1849</guid>
		<description>Thanks for share this!</description>
		<content:encoded><![CDATA[<p>Thanks for share this!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bundyxc</title>
		<link>http://www.openjason.com/2007/10/31/43-ways-to-optimize-your-php-code/comment-page-1/#comment-1180</link>
		<dc:creator>bundyxc</dc:creator>
		<pubDate>Mon, 21 Dec 2009 08:38:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.openjason.com/2007/10/31/43-ways-to-optimize-your-php-code/#comment-1180</guid>
		<description>Yes, echo is a language construct. Quite a few of these tips are completely idiotic. Number two, for instance? It really doesnt matter, unless youre printing a LOT of code.

http://www.learnphponline.com/php-basics/php-echo-vs-print</description>
		<content:encoded><![CDATA[<p>Yes, echo is a language construct. Quite a few of these tips are completely idiotic. Number two, for instance? It really doesnt matter, unless youre printing a LOT of code.</p>
<p><a href="http://www.learnphponline.com/php-basics/php-echo-vs-print" rel="nofollow">http://www.learnphponline.com/php-basics/php-echo-vs-print</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohd Atif</title>
		<link>http://www.openjason.com/2007/10/31/43-ways-to-optimize-your-php-code/comment-page-1/#comment-1118</link>
		<dc:creator>Mohd Atif</dc:creator>
		<pubDate>Mon, 12 Oct 2009 16:47:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.openjason.com/2007/10/31/43-ways-to-optimize-your-php-code/#comment-1118</guid>
		<description>Hi,

thanks a lot for the great tips.. btw echo is a construct not a function.. right ?</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>thanks a lot for the great tips.. btw echo is a construct not a function.. right ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcin</title>
		<link>http://www.openjason.com/2007/10/31/43-ways-to-optimize-your-php-code/comment-page-1/#comment-1104</link>
		<dc:creator>Marcin</dc:creator>
		<pubDate>Tue, 06 Oct 2009 03:57:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.openjason.com/2007/10/31/43-ways-to-optimize-your-php-code/#comment-1104</guid>
		<description>Above comment should have &quot;13. ...&quot; sorry. Please feel free to edit.</description>
		<content:encoded><![CDATA[<p>Above comment should have &#8220;13. &#8230;&#8221; sorry. Please feel free to edit.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcin</title>
		<link>http://www.openjason.com/2007/10/31/43-ways-to-optimize-your-php-code/comment-page-1/#comment-1103</link>
		<dc:creator>Marcin</dc:creator>
		<pubDate>Tue, 06 Oct 2009 03:56:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.openjason.com/2007/10/31/43-ways-to-optimize-your-php-code/#comment-1103</guid>
		<description>&quot;6. It&#039;s better to use select statements than multi if, else if, statements.&quot;

Do you mean switch statements ? ;)</description>
		<content:encoded><![CDATA[<p>&#8220;6. It&#8217;s better to use select statements than multi if, else if, statements.&#8221;</p>
<p>Do you mean switch statements ? <img src='http://www.openjason.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mayank</title>
		<link>http://www.openjason.com/2007/10/31/43-ways-to-optimize-your-php-code/comment-page-1/#comment-1006</link>
		<dc:creator>Mayank</dc:creator>
		<pubDate>Thu, 16 Jul 2009 09:33:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.openjason.com/2007/10/31/43-ways-to-optimize-your-php-code/#comment-1006</guid>
		<description>Nice article, I am PHP programmer working for more than 3years, even I didn&#039;t know many of them.</description>
		<content:encoded><![CDATA[<p>Nice article, I am PHP programmer working for more than 3years, even I didn&#8217;t know many of them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cmsnx</title>
		<link>http://www.openjason.com/2007/10/31/43-ways-to-optimize-your-php-code/comment-page-1/#comment-1005</link>
		<dc:creator>cmsnx</dc:creator>
		<pubDate>Thu, 16 Jul 2009 09:22:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.openjason.com/2007/10/31/43-ways-to-optimize-your-php-code/#comment-1005</guid>
		<description>nice code very well explained thanks</description>
		<content:encoded><![CDATA[<p>nice code very well explained thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://www.openjason.com/2007/10/31/43-ways-to-optimize-your-php-code/comment-page-1/#comment-1002</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Fri, 10 Jul 2009 00:01:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.openjason.com/2007/10/31/43-ways-to-optimize-your-php-code/#comment-1002</guid>
		<description>A lot of those are just plain wrong.

https://groups.google.com/group/make-the-web-faster/browse_thread/thread/ddfbe82dd80408cc?pli=1</description>
		<content:encoded><![CDATA[<p>A lot of those are just plain wrong.</p>
<p><a href="https://groups.google.com/group/make-the-web-faster/browse_thread/thread/ddfbe82dd80408cc?pli=1" rel="nofollow">https://groups.google.com/group/make-the-web-faster/browse_thread/thread/ddfbe82dd80408cc?pli=1</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Lynch</title>
		<link>http://www.openjason.com/2007/10/31/43-ways-to-optimize-your-php-code/comment-page-1/#comment-1001</link>
		<dc:creator>Richard Lynch</dc:creator>
		<pubDate>Thu, 09 Jul 2009 18:51:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.openjason.com/2007/10/31/43-ways-to-optimize-your-php-code/#comment-1001</guid>
		<description>Unfortunately, some of these optimizations are dead wrong.

Both &quot; and &#039; have to scan the string, because &#039; might have \&#039; and \\ in it.  The iteration through the string is killer, not the fact that &quot; has to do an extra check for $foo.

echo with . instead of , is often faster, due to buffer sizes and the way I/O is sent.  You&#039;d have to benchmark in your app, on your hardware.  And it&#039;s rarely the bottleneck.

In fact, none of these optimizations are likely to make any significant difference in a real webapp.

Code it as straight-forward as you can, then profile it to find unacceptable bottle-necks and fix those.  Leave the rest of your code alone.</description>
		<content:encoded><![CDATA[<p>Unfortunately, some of these optimizations are dead wrong.</p>
<p>Both &#8221; and &#8216; have to scan the string, because &#8216; might have \&#8217; and \\ in it.  The iteration through the string is killer, not the fact that &#8221; has to do an extra check for $foo.</p>
<p>echo with . instead of , is often faster, due to buffer sizes and the way I/O is sent.  You&#8217;d have to benchmark in your app, on your hardware.  And it&#8217;s rarely the bottleneck.</p>
<p>In fact, none of these optimizations are likely to make any significant difference in a real webapp.</p>
<p>Code it as straight-forward as you can, then profile it to find unacceptable bottle-necks and fix those.  Leave the rest of your code alone.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matthew</title>
		<link>http://www.openjason.com/2007/10/31/43-ways-to-optimize-your-php-code/comment-page-1/#comment-960</link>
		<dc:creator>matthew</dc:creator>
		<pubDate>Thu, 04 Jun 2009 14:13:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.openjason.com/2007/10/31/43-ways-to-optimize-your-php-code/#comment-960</guid>
		<description>Great article, there are a few of these that I was unaware of. I will take these into consideration, thanks.</description>
		<content:encoded><![CDATA[<p>Great article, there are a few of these that I was unaware of. I will take these into consideration, thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
