Re: concatenating with "." or ","

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 5:34 PM +0200 8/25/08, Yeti wrote:
That is why i love this list. Always something new to learn.
What I am still wondering about is if it is faster to use commas or
the "{}" brackets? ( I don't know how that technique is called, since
I'm not a walking dictionary)

Example:

$var = "blah blah";
echo $var,"test";
echo "{$var}test";

One of the other things about this list is that sometimes people actually test their ideas.

It's not that big of a deal to set up a test to show which is faster. So, if you would like to know, then write a test for it.

Cheers,

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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux