Re: [PHP] Re: optimilize web page loading



2008. 03. 28, péntek keltezéssel 11.31-kor tedd ezt írta:
At 9:14 AM +0100 3/28/08, Zoltán Németh wrote:
> This way for literal strings, the PHP parser doesn't have to evaluate
> this string to determine if anything needs to be translated (e.g.,
> $report .= "I like to $foo"). A minimal speedup, but nonetheless...

that above statement is simply not true. parsing "foo" and 'foo' is all
the same
a good read about it:
http://blog.libssh2.org/index.php?/archives/28-How-long-is-a-piece-of-string.html

greets,
Zoltán Németh

I read it, but it still doesn't disprove the premise.

yeah, that was morning time and I got mixed up a bit :)

Anyway, I had to admit that I was wrong in this matter, Rob Cummings has
just proven me that there is a difference, however little is it

greets,
Zoltán Németh


Cheers,

tedd
--
-------
http://sperling.com http://ancientstones.com http://earthstones.com


.


Quantcast