Is there a difference or is one better than the other of the following:
$var = ''; ... $var .= 'blah blah'; $var .= $var2; $var .= 'blah blah';
Or
$var = ''; ... $var .= 'blah blah' . $var2 . 'blah blah';
Is there a speed difference or is there a reason why you’d pick one over the other?
There is a small difference if you echo the string.
is slightly faster than