看板 PHP 關於我們 聯絡資訊
程式碼是長這樣子的 <?php function test() { $handle = fopen('/tmp/testing123.txt', 'a+'); fclose($handle); } for($i = 0; $i < 1000000000000; $i++) { $handles[$i] = test(); } ?> 想請問的是 為什麼fclose後 為什麼記憶體不會放掉呢? 實在不太懂~ 有大大可以說明一下的嗎 感謝~ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 118.165.12.187
hSATAC:看不太懂你在問什麼 04/04 16:09