12-11-2007, 12:47 AM
|
#8 (permalink)
|
|
The Contributor
Join Date: Dec 2007
Posts: 60
Thanks: 5
|
I've never found a reason to use double quotes yet.. have you?
Some people like to do
PHP Code:
$foo = "Welcome, {$bar}.";
However if you have ever bench-marked the concatenation speed of that, and compare it to the speed of
PHP Code:
$foo = 'Welcome, ' . $bar;
You will find that the single-quote concatenation is faster 
|
|
|
|