[請益] ㄧ個語法上的問題

看板PHP作者 (底盤)時間19年前 (2007/01/24 16:11), 編輯推噓2(200)
留言2則, 2人參與, 最新討論串1/1
$httpressult .= fgets ($fp,1024); 最近在寫擷取網頁的程式 然後 看到 .= 不知道是什麼意思~ 希望大家能幫我解答一下 -- █◣◢█ ▄▄▄ Thank you, Tayshaun Prince PRINCE 2005-2006 STATISTICS PISTONS 22 PPG 14.1 RPG 4.20 APG 2.3 EFF +13.39 22 2006 All-Defensive Second Team Played all 82 regular-season games past 3 seasons, as well as the 64 playoff games in that time. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.31.152.9

01/24 16:16, , 1F
$httpressult = $httpressult . fgets ($fp,1024);
01/24 16:16, 1F

01/24 16:21, , 2F
字串串接。就像C++字串物件的+=一樣
01/24 16:21, 2F
文章代碼(AID): #15jnI_8P (PHP)
文章代碼(AID): #15jnI_8P (PHP)