在字符串之间加 . 如 "hi, " . "xxx"
.
"hi, " . "xxx"
<html> <body> <?php $string="hello" . "hi"; //在这里定义了string变量,并赋值 //现在string的值是"hellohi" //注意要加分号,和Python不同 ?> </body> </html>