Re: Re: optimilize web page loading
| From: | tedd | Date: | Fri, 28 Mar 2008 15:31:32 +0000 |
| Subject: | Re: Re: optimilize web page loading | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-272232@lists.php.net to get a copy of this message | ||
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émethI read it, but it still doesn't disprove the premise. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com