Re: concatenating with "." or ","
| From: | tedd | Date: | Mon, 25 Aug 2008 17:42:47 +0000 |
| Subject: | Re: concatenating with "." or "," | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-278687@lists.php.net to get a copy of this message | ||
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