what is faster?
ReportQuestion
2 years ago 735 views
Combining two variables as follows:
$variable1 = 'Hello ';
$variable2 = 'World';
$variable3 = $variable1.$variable2;
OR
2- $variable3 = "$variable1$variable2";
$variable3 will contain “Hello World”. The first code is faster than the second code especially for large large sets of data.
Thread Reply