<?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 String Concatentation Performance</title>
	<atom:link href="http://www.frankmaulit.com/2009/04/17/php-string-concatentation-performance/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.frankmaulit.com/2009/04/17/php-string-concatentation-performance/</link>
	<description>better than your blog.</description>
	<lastBuildDate>Fri, 23 Jul 2010 16:30:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: z</title>
		<link>http://www.frankmaulit.com/2009/04/17/php-string-concatentation-performance/comment-page-1/#comment-3753</link>
		<dc:creator>z</dc:creator>
		<pubDate>Sat, 18 Apr 2009 08:12:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.frankmaulit.com/2009/04/17/php-string-concatentation-performance/#comment-3753</guid>
		<description>why not try an implode()? 
[this is assuming that you&#039;re trying concat with an array of course, and my assumption is based on your &quot;foreach&quot; statement]
it&#039;s a native function, and may work to your benefit

example:
$orange = array(&quot;orange&quot;, &quot;you&quot;, &quot;glad&quot;, &quot;i&quot;, &quot;didn&#039;t&quot;, &quot;say&quot;, &quot;banana&quot;);
$orange_str = implode(&quot; &quot;, $orange);
echo $orange_str; // &quot;orange you glad i didn&#039;t say banana&quot;

doesn&#039;t hurt to try. also, if you don&#039;t like the word implode, you could simply use join() [i like this better because it&#039;s like python =)]</description>
		<content:encoded><![CDATA[<p>why not try an implode()?<br />
[this is assuming that you're trying concat with an array of course, and my assumption is based on your "foreach" statement]<br />
it&#8217;s a native function, and may work to your benefit</p>
<p>example:<br />
$orange = array(&#8220;orange&#8221;, &#8220;you&#8221;, &#8220;glad&#8221;, &#8220;i&#8221;, &#8220;didn&#8217;t&#8221;, &#8220;say&#8221;, &#8220;banana&#8221;);<br />
$orange_str = implode(&#8221; &#8220;, $orange);<br />
echo $orange_str; // &#8220;orange you glad i didn&#8217;t say banana&#8221;</p>
<p>doesn&#8217;t hurt to try. also, if you don&#8217;t like the word implode, you could simply use join() [i like this better because it's like python =)]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Johnny156</title>
		<link>http://www.frankmaulit.com/2009/04/17/php-string-concatentation-performance/comment-page-1/#comment-3729</link>
		<dc:creator>Johnny156</dc:creator>
		<pubDate>Fri, 17 Apr 2009 23:39:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.frankmaulit.com/2009/04/17/php-string-concatentation-performance/#comment-3729</guid>
		<description>What is more likely the case, is in that first way you are actually creating a new string when you concat on $orange_str. While $orange_str .= actually appends to the existing string. This depends on the language. (i.e. Java strings are immutable so when you do += on a java string it actually has to make a brand new string)</description>
		<content:encoded><![CDATA[<p>What is more likely the case, is in that first way you are actually creating a new string when you concat on $orange_str. While $orange_str .= actually appends to the existing string. This depends on the language. (i.e. Java strings are immutable so when you do += on a java string it actually has to make a brand new string)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
