Php Concatenation - Time?

Rica

New member
$a = "Hello ";
$b = "World";

(a) $c = $a.$b;

(b) $c = "$a$b";

I would like to know which one is faster to concat (a) or (b). I do realize that the time difference is very small, but you can feel it in extremely big loops.
 
Back
Top