View Single Post
Old 12-11-2007, 07:29 PM   #12 (permalink)
Wildhoney
La Vida es Sueño
Advanced Programmer Top Contributor 
 
Wildhoney's Avatar
 
Join Date: Sep 2007
Location: Oldham
Posts: 2,280
Thanks: 90
Wildhoney is on a distinguished road
Default

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 View Post
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.
Send a message via AIM to Wildhoney Send a message via MSN to Wildhoney Send a message via Yahoo to Wildhoney
Wildhoney is offline  
Reply With Quote