亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

cat[連接字串]

cat(將cat裡的值連接到給定的變數(shù)後面)

test.php:
$smarty = new Smarty;
$smarty->assign('articleTitle', "Psychics predict world didn't end");
$smarty->display('test.html');

test.html:
{$articleTitle|cat:" yesterday."}

輸出:
Psychics predict world didn't end yesterday.

#
繼續(xù)學(xué)習(xí)
||
<?php echo "cat(將cat里的值連接到給定的變量后面)";