Re: Re: concatenating with "." or ","
| From: | Thiago Melo de Paula | Date: | Mon, 25 Aug 2008 14:07:41 +0000 |
| Subject: | Re: Re: concatenating with "." or "," | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-278670@lists.php.net to get a copy of this message | ||
Hello Yeti!
This is a very good question, because it shows that you're interested in get
the max from your PHP codes.
In my research about php optimization, I couldn't find any relevant article
about this specific issue, but some sites tell us that using commas instead
periods on echo constructor would be faster.
I agree with that, because using the concatenation symbol, will cause PHP to
take steps to process the concatenation.
But I think (I never did any performances tests on this subject) that the
gain would be irrelevant on a general site.
Regards from Brazil.
Thiago Melo de Paula
On Mon, Aug 25, 2008 at 10:25 AM, Yeti <yeti@myhich.com> wrote:
> So it is faster to output various strings using the "," instead of "."?
>