[請益] 新手請問一小片段程式
我是初學自修的新手,想嘗試拿別人的程式解讀...
剛開始還能翻書或上網搜尋查找指令或函數意義
但最近遇到一小段程式,我真的沒辦法,只好上來求教...
foreach($data as $k=>$v){
$$k=$v;
}
第一行 foreach($data as $k=>$v) 我是知道
但第二行 $$k=$v; 是什麼意思?
請幫幫忙! 謝謝!
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 60.250.229.251
推
02/10 14:47, , 1F
02/10 14:47, 1F
→
02/10 14:47, , 2F
02/10 14:47, 2F
→
02/10 14:48, , 3F
02/10 14:48, 3F
→
02/10 14:48, , 4F
02/10 14:48, 4F
→
02/10 15:06, , 5F
02/10 15:06, 5F
→
02/10 16:35, , 6F
02/10 16:35, 6F
推
02/10 17:37, , 7F
02/10 17:37, 7F
推
02/10 18:26, , 8F
02/10 18:26, 8F
推
02/10 18:28, , 9F
02/10 18:28, 9F
推
02/10 18:28, , 10F
02/10 18:28, 10F
→
02/10 18:29, , 11F
02/10 18:29, 11F
→
02/10 20:24, , 12F
02/10 20:24, 12F
→
02/10 20:24, , 13F
02/10 20:24, 13F
→
02/11 09:33, , 14F
02/11 09:33, 14F
→
02/11 09:34, , 15F
02/11 09:34, 15F
推
02/11 10:18, , 16F
02/11 10:18, 16F
→
02/11 11:34, , 17F
02/11 11:34, 17F
→
02/11 11:35, , 18F
02/11 11:35, 18F
→
02/11 11:36, , 19F
02/11 11:36, 19F
→
02/11 11:36, , 20F
02/11 11:36, 20F
→
02/11 11:36, , 21F
02/11 11:36, 21F
→
02/11 11:37, , 22F
02/11 11:37, 22F
→
02/11 12:14, , 23F
02/11 12:14, 23F
→
02/11 12:17, , 24F
02/11 12:17, 24F
→
02/11 12:25, , 25F
02/11 12:25, 25F
→
02/11 12:35, , 26F
02/11 12:35, 26F
→
02/11 12:36, , 27F
02/11 12:36, 27F
→
02/11 12:36, , 28F
02/11 12:36, 28F
→
02/11 12:37, , 29F
02/11 12:37, 29F
→
02/11 12:37, , 30F
02/11 12:37, 30F
推
02/11 12:51, , 31F
02/11 12:51, 31F
→
02/11 12:51, , 32F
02/11 12:51, 32F
→
02/11 12:51, , 33F
02/11 12:51, 33F
推
02/11 17:12, , 34F
02/11 17:12, 34F
→
02/11 18:45, , 35F
02/11 18:45, 35F
→
02/11 18:45, , 36F
02/11 18:45, 36F
→
02/11 18:47, , 37F
02/11 18:47, 37F
推
02/13 09:59, , 38F
02/13 09:59, 38F
→
02/13 09:59, , 39F
02/13 09:59, 39F
→
02/13 09:59, , 40F
02/13 09:59, 40F
推
02/13 21:59, , 41F
02/13 21:59, 41F
→
02/13 22:00, , 42F
02/13 22:00, 42F
→
02/13 22:00, , 43F
02/13 22:00, 43F
→
02/13 22:01, , 44F
02/13 22:01, 44F
→
02/13 22:01, , 45F
02/13 22:01, 45F
→
02/13 22:02, , 46F
02/13 22:02, 46F
→
02/13 22:03, , 47F
02/13 22:03, 47F
→
02/13 22:03, , 48F
02/13 22:03, 48F
→
02/13 22:04, , 49F
02/13 22:04, 49F
→
02/14 19:52, , 50F
02/14 19:52, 50F
→
02/14 19:52, , 51F
02/14 19:52, 51F
→
02/14 19:53, , 52F
02/14 19:53, 52F
→
02/14 19:54, , 53F
02/14 19:54, 53F
→
02/14 19:54, , 54F
02/14 19:54, 54F
→
02/14 19:55, , 55F
02/14 19:55, 55F
推
02/15 00:53, , 56F
02/15 00:53, 56F
→
02/15 00:53, , 57F
02/15 00:53, 57F
→
02/15 00:54, , 58F
02/15 00:54, 58F
→
02/15 00:55, , 59F
02/15 00:55, 59F
→
02/15 00:55, , 60F
02/15 00:55, 60F
→
02/15 00:56, , 61F
02/15 00:56, 61F
→
02/15 00:56, , 62F
02/15 00:56, 62F
推
02/15 00:58, , 63F
02/15 00:58, 63F
→
02/15 00:58, , 64F
02/15 00:58, 64F
→
02/15 01:00, , 65F
02/15 01:00, 65F
→
02/15 01:00, , 66F
02/15 01:00, 66F
→
02/15 01:02, , 67F
02/15 01:02, 67F
→
02/15 01:02, , 68F
02/15 01:02, 68F
→
02/15 01:03, , 69F
02/15 01:03, 69F
推
02/16 12:34, , 70F
02/16 12:34, 70F
→
02/16 12:35, , 71F
02/16 12:35, 71F
→
02/16 20:52, , 72F
02/16 20:52, 72F
討論串 (同標題文章)
PHP 近期熱門文章
PTT數位生活區 即時熱門文章