PHP瀛楃涓茶繍绠楃

鍐呭鎽樿
鏈変袱涓瓧绗︿覆杩愮畻绗︺傜涓涓槸杩炴帴杩愮畻绗︼紙鈥.鈥濓級锛屽畠杩斿洖鍏跺乏鍙冲弬鏁拌繛鎺ュ悗鐨勫瓧绗︿覆銆傜浜屼釜鏄繛鎺ヨ祴鍊艰繍绠楃锛堚.=鈥濓級锛屽畠灏嗗彸杈瑰弬鏁伴檮鍔犲埌宸﹁竟鐨勫弬鏁板悗銆傛洿澶氫俊鎭璧嬪艰繍绠楃銆
鏂囩珷姝f枃
瀛楃涓茶繍绠楃
鏈変袱涓瓧绗︿覆杩愮畻绗︺傜涓涓槸杩炴帴杩愮畻绗︼紙鈥.鈥濓級锛屽畠杩斿洖鍏跺乏鍙冲弬鏁拌繛鎺ュ悗鐨勫瓧绗︿覆銆傜浜屼釜鏄繛鎺ヨ祴鍊艰繍绠楃锛堚.=鈥濓級锛屽畠灏嗗彸杈瑰弬鏁伴檮鍔犲埌宸﹁竟鐨勫弬鏁板悗銆傛洿澶氫俊鎭璧嬪艰繍绠楃銆

<?php
$a = "Hello ";
$b = $a . "World!"; // now $b contains "Hello World!"

$a = "Hello ";
$a .= "World!";     // now $a contains "Hello World!"
?>

鍙傝瀛楃涓茬被鍨嬪拰瀛楃涓插嚱鏁扮珷鑺傘

浠ヤ笂灏辨槸PHP瀛楃涓茶繍绠楃鐨勮缁嗗唴瀹癸紝鏇村淇℃伅璇峰叧娉∣D浜戝叾瀹冪浉鍏虫枃绔狅紒



鏈枃URL锛http://www.odweb.cn/news_show.html?id=70