php 字符串拼接

事例1

 $StrA = "Coder";
 $StrB = $StrA."ZB";
 var_export($StrB);

输出CoderZB


事例2

$StrA = "Year ";
$StrC = "Day ";
var_export('Date '.$StrA.'Month '.$StrC);

输出'Date Year Month Day '

你可能感兴趣的:(php 字符串拼接)