| Below are two sample to combine two variable sample 1 will work significantly faster. To try it we take large sets of data and we will see that concatenation works significantly faster than variable substitution.
$var1 = 'Interview Question On';
$var2 = 'getproductprice.com';
Sample1:-
$var 3 = $var1.$var2;
Sample2:-
$var 3 = $var1$var2; | | |