12-11-2007, 06:29 PM
|
#12 (permalink)
|
|
La Vida es Sueño
Join Date: Sep 2007
Location: Oldham
Posts: 2,267
Thanks: 90
|
Lol! I can see those monsters playing a big part in this community  I'm sure we all have a few of those monsters in our code.
Quote:
Originally Posted by Jay
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 
|
I've never had a need for double quotes except when using \r and \n.
__________________
The man who comes back through the Door in the Wall will never be quite the same as the man who went out.
|
|
|