Concatenate 2 vars simultaniously

Use this:

$var1 = $var2 = "1245";
$var2[1] = "3";

Or:

$var1 = $var2 = '1';
$var1 = $var2 .= '2';
$var1 = $var2 .= '4';
$var1 = $var2 .= '5';
$var2[1] = '3';

Browse More Popular Posts

Leave a Comment