<br><br><div class="gmail_quote">2010/3/3 Ries van Twisk <span dir="ltr"><<a href="mailto:typo3@rvt.dds.nl">typo3@rvt.dds.nl</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im"><br>
On Mar 3, 2010, at 12:33 PM, Steffen Kamper wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<br>
Sigfried Arnold schrieb:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Am 03.03.2010 17:51, schrieb Steffen Ritter:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
\n is bad to read.<br>
"" is slower than ''<br>
</blockquote>
Stating double quotes are slower than single quotes is a common mistake. Double quotes are faster, but the difference is very insignificant.<br>
</blockquote>
<br>
seems you didn't read it carefully, you're wrong. Double quotes enable parsing, which obviously is slower than single quotes without parsing.<br>
<br>
vg Steffen<br>
</blockquote>
<br>
<br></div>
Steffen,<br>
<br>
in my test I see that a double quote is slightly faster..<br>
<br>
According to the people here : <a href="http://phpbench.com/" target="_blank">http://phpbench.com/</a> it also really doesn't matter anymore,<br>
I would go for readability...<br>
<br>
I can send you the test if you are curious, this is on PHP 5.2.11<br><font color="#888888">
<br>
Ries</font><div><div></div><div class="h5"><br></div></div></blockquote></div><br>hi,<br>
<br>
Why don't you use PHP_EOL ?<br><br>Easy to read, no quotes, no function call just native php.<br>
<br>
gr. Frans<br><br>