<html> <head> <title> test connect string </title> </head> <body> <?php $str1 = "hello, " . "andylin"; $str1 .= "!"; $bOk = true; echo "str1 = $str1 <br>/n"; //copy a reference $str2 = &$str1; $str2 .= "welcom to the congfeng's world!"; echo "str1 = $str1<br>/n"; $bOk .= 123; echo "bOk = $bOk <br>/n"; $bOk .= 000; echo "bOk = $bOk <br>/n"; $str3 = "see"; $str3 += " you!"; echo "str3 = $str3 <br>/n"; ?> </body> </html>