double quotes vs. single quotes with concatenation
Posted: Mon May 14, 2007 10:26 pm
Which is better? I hear somewhere that single quotes are faster, but are they still faster when you use concatenation? Like:
Which is generally quicker and which one do yall use more often?
Code: Select all
$string = "Stuff: $stuff"; // Double quotes
$string = 'Stuff: '.$stuff; // Single quotes with concatenation