<?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 double versus single quotes</title>
	<atom:link href="http://spindrop.us/2007/03/03/php-double-versus-single-quotes/feed/" rel="self" type="application/rss+xml" />
	<link>http://spindrop.us/2007/03/03/php-double-versus-single-quotes/</link>
	<description>look at all this code you don't have to write</description>
	<lastBuildDate>Thu, 11 Mar 2010 09:27:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: PHP &#8211; Mais de 50 dicas sobre desempenho e segurança &#124; :::PTBYTE:::</title>
		<link>http://spindrop.us/2007/03/03/php-double-versus-single-quotes/comment-page-1/#comment-322766</link>
		<dc:creator>PHP &#8211; Mais de 50 dicas sobre desempenho e segurança &#124; :::PTBYTE:::</dc:creator>
		<pubDate>Fri, 26 Feb 2010 13:00:07 +0000</pubDate>
		<guid isPermaLink="false">http://spindrop.us/2007/03/03/php-double-versus-single-quotes/#comment-322766</guid>
		<description>&lt;p&gt;[...] Ao trabalhar com Strings, caso não utilize avaliação de variáveis no meio da string ( &#8220;Olá {$name} !&#8221; ), evite utilizar aspas duplas (“) e opte por aspas simples (‘) porque o PHP irá sempre procurar pela existência de variáveis em strings com aspas duplas (&#8220;string exemplo&#8221;). [Citação] [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Ao trabalhar com Strings, caso não utilize avaliação de variáveis no meio da string ( &#8220;Olá {$name} !&#8221; ), evite utilizar aspas duplas (“) e opte por aspas simples (‘) porque o PHP irá sempre procurar pela existência de variáveis em strings com aspas duplas (&#8220;string exemplo&#8221;). [Citação] [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Abhishek Dilliwal</title>
		<link>http://spindrop.us/2007/03/03/php-double-versus-single-quotes/comment-page-1/#comment-315597</link>
		<dc:creator>Abhishek Dilliwal</dc:creator>
		<pubDate>Tue, 05 Jan 2010 07:23:31 +0000</pubDate>
		<guid isPermaLink="false">http://spindrop.us/2007/03/03/php-double-versus-single-quotes/#comment-315597</guid>
		<description>&lt;p&gt;Yeah I was looking for this only and the post showed me the right path... I too will use single quots... bingo! :P&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Yeah I was looking for this only and the post showed me the right path&#8230; I too will use single quots&#8230; bingo! <img src='http://spindrop.us/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>]]></content:encoded>
	</item>
	<item>
		<title>By: Micro Optimizations That Don&#8217;t Matter &#124; BrandonSavage.net</title>
		<link>http://spindrop.us/2007/03/03/php-double-versus-single-quotes/comment-page-1/#comment-312747</link>
		<dc:creator>Micro Optimizations That Don&#8217;t Matter &#124; BrandonSavage.net</dc:creator>
		<pubDate>Mon, 26 Oct 2009 05:03:01 +0000</pubDate>
		<guid isPermaLink="false">http://spindrop.us/2007/03/03/php-double-versus-single-quotes/#comment-312747</guid>
		<description>&lt;p&gt;[...] Vs. Double Quotes This is one of the two big PHP optimization nightmares that just won&#8217;t die. The argument goes like this: because PHP has to parse a double-quoted [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Vs. Double Quotes This is one of the two big PHP optimization nightmares that just won&#8217;t die. The argument goes like this: because PHP has to parse a double-quoted [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: 50+ PHP optimisation tips revisited &#171; Narendra Dhami</title>
		<link>http://spindrop.us/2007/03/03/php-double-versus-single-quotes/comment-page-1/#comment-123883</link>
		<dc:creator>50+ PHP optimisation tips revisited &#171; Narendra Dhami</dc:creator>
		<pubDate>Tue, 29 Jul 2008 02:27:58 +0000</pubDate>
		<guid isPermaLink="false">http://spindrop.us/2007/03/03/php-double-versus-single-quotes/#comment-123883</guid>
		<description>&lt;p&gt;[...] Wrap your string in single quotes (&amp;#8217  instead of double quotes (&amp;#8221  is faster because PHP searches for variables inside &#8220;&#8230;&#8221; and not in &#8216;&#8230;&#8217;, use this when you&#8217;re not using variables you need evaluating in your string. [Citation] [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Wrap your string in single quotes (&amp;#8217  instead of double quotes (&amp;#8221  is faster because PHP searches for variables inside &#8220;&#8230;&#8221; and not in &#8216;&#8230;&#8217;, use this when you&#8217;re not using variables you need evaluating in your string. [Citation] [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: PHP Optimization Tips &#124; ProgTuts</title>
		<link>http://spindrop.us/2007/03/03/php-double-versus-single-quotes/comment-page-1/#comment-123665</link>
		<dc:creator>PHP Optimization Tips &#124; ProgTuts</dc:creator>
		<pubDate>Mon, 28 Jul 2008 13:40:21 +0000</pubDate>
		<guid isPermaLink="false">http://spindrop.us/2007/03/03/php-double-versus-single-quotes/#comment-123665</guid>
		<description>&lt;p&gt;[...] with concatenation is faster than putting your variables inside a double quote (&#8221;) string. (cite) echo &#039;a string &#039; . $name; //is faster than echo &quot;a string [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] with concatenation is faster than putting your variables inside a double quote (&#8221;) string. (cite) echo &#8216;a string &#8216; . $name; //is faster than echo &quot;a string [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: HM2K.com &#187; 50+ PHP optimisation tips revisited</title>
		<link>http://spindrop.us/2007/03/03/php-double-versus-single-quotes/comment-page-1/#comment-105727</link>
		<dc:creator>HM2K.com &#187; 50+ PHP optimisation tips revisited</dc:creator>
		<pubDate>Tue, 20 May 2008 17:51:41 +0000</pubDate>
		<guid isPermaLink="false">http://spindrop.us/2007/03/03/php-double-versus-single-quotes/#comment-105727</guid>
		<description>&lt;p&gt;[...] Wrap your string in single quotes (&#8217;) instead of double quotes (&#8221;) is faster because PHP searches for variables inside &#8220;&#8230;&#8221; and not in &#8216;&#8230;&#8217;, use this when you&#8217;re not using variables you need evaluating in your string. [Citation] [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Wrap your string in single quotes (&#8217;) instead of double quotes (&#8221;) is faster because PHP searches for variables inside &#8220;&#8230;&#8221; and not in &#8216;&#8230;&#8217;, use this when you&#8217;re not using variables you need evaluating in your string. [Citation] [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Rainer</title>
		<link>http://spindrop.us/2007/03/03/php-double-versus-single-quotes/comment-page-1/#comment-72705</link>
		<dc:creator>Rainer</dc:creator>
		<pubDate>Thu, 03 Jan 2008 10:30:43 +0000</pubDate>
		<guid isPermaLink="false">http://spindrop.us/2007/03/03/php-double-versus-single-quotes/#comment-72705</guid>
		<description>&lt;p&gt;I realized the difference between &#039;&#039; and &quot;&quot; a little bit late. So since two years I have a 18k script in production that&#039;s called about 1000 times per day.&lt;/p&gt;

&lt;p&gt;After reading about speed concerns I changed all &quot; to &#039; (where no substitution is needed). That were about 650 occurrences.&lt;/p&gt;

&lt;p&gt;Testing speed after that gave me the result that all the time is spent on database calls :-)&lt;/p&gt;

&lt;p&gt;So don&#039;t waste your time on optimizing quotes when you have bigger time consumptive parts -&gt; profile first!&lt;/p&gt;

&lt;p&gt;But I agree that one should use single quotes whenever possible.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I realized the difference between &#8221; and &#8220;&#8221; a little bit late. So since two years I have a 18k script in production that&#8217;s called about 1000 times per day.</p>

<p>After reading about speed concerns I changed all &#8221; to &#8216; (where no substitution is needed). That were about 650 occurrences.</p>

<p>Testing speed after that gave me the result that all the time is spent on database calls <img src='http://spindrop.us/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>

<p>So don&#8217;t waste your time on optimizing quotes when you have bigger time consumptive parts -&gt; profile first!</p>

<p>But I agree that one should use single quotes whenever possible.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: &#8216; atau &#8221; ?? &#171; PHP - MySQL - Web Based Weaver</title>
		<link>http://spindrop.us/2007/03/03/php-double-versus-single-quotes/comment-page-1/#comment-52041</link>
		<dc:creator>&#8216; atau &#8221; ?? &#171; PHP - MySQL - Web Based Weaver</dc:creator>
		<pubDate>Mon, 01 Oct 2007 06:42:02 +0000</pubDate>
		<guid isPermaLink="false">http://spindrop.us/2007/03/03/php-double-versus-single-quotes/#comment-52041</guid>
		<description>&lt;p&gt;[...] dari segi performansi keduanya tidak berbeda jauh (berbeda 0.6 detik untuk iterasi sebanyak 2juta [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] dari segi performansi keduanya tidak berbeda jauh (berbeda 0.6 detik untuk iterasi sebanyak 2juta [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: codecrater.com &#187; Blog Archive &#187; PHP Fight Club: Single vs Double Quotes</title>
		<link>http://spindrop.us/2007/03/03/php-double-versus-single-quotes/comment-page-1/#comment-49887</link>
		<dc:creator>codecrater.com &#187; Blog Archive &#187; PHP Fight Club: Single vs Double Quotes</dc:creator>
		<pubDate>Fri, 14 Sep 2007 01:12:52 +0000</pubDate>
		<guid isPermaLink="false">http://spindrop.us/2007/03/03/php-double-versus-single-quotes/#comment-49887</guid>
		<description>&lt;p&gt;[...] a simple speed test found on a blog entry about this very subject, we can see the difference directly. The funny thing is, the largest difference seems to be between [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] a simple speed test found on a blog entry about this very subject, we can see the difference directly. The funny thing is, the largest difference seems to be between [...]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Jose F escalante</title>
		<link>http://spindrop.us/2007/03/03/php-double-versus-single-quotes/comment-page-1/#comment-38725</link>
		<dc:creator>Jose F escalante</dc:creator>
		<pubDate>Mon, 25 Jun 2007 14:16:40 +0000</pubDate>
		<guid isPermaLink="false">http://spindrop.us/2007/03/03/php-double-versus-single-quotes/#comment-38725</guid>
		<description>&lt;p&gt;Hi, this instruction is more slow:     $c = &quot;test {$i}&quot;;&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi, this instruction is more slow:     $c = &#8220;test {$i}&#8221;;</p>]]></content:encoded>
	</item>
</channel>
</rss>
