當string concatenation operator 用在數值型態上時,數值型態會被自動轉型成字串。 範例:. <?php $age = 20; $str = "Martin is " . $age . " years old." ...
確定! 回上一頁