天天看點

file_put_contents實作内容追加

file_put_contents("test.txt", "This is another something.", FILE_APPEND);

FILE_APPEND:在檔案末尾以追加的方式寫入資料

轉載于:https://www.cnblogs.com/huanglei559/p/10993652.html