View Single Post
Old 12-11-2007, 12:47 AM   #8 (permalink)
Jay
The Contributor
Good Samaritan 
 
Join Date: Dec 2007
Posts: 60
Thanks: 5
Jay is on a distinguished road
Default

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
Jay is offline  
Reply With Quote