Suppose I have two PHP statements:
echo "foo"."bar"
echo "foo", "bar"
Notice the different ways of concatenating the strings - using a .
or a ,
.
I realise the actual differences between the two methods, that using ,
gives multiple parameters to the keyword echo
, whereas using .
actually joins the strings together before echo
ing.
But my question is, which way is faster?