透過 stream_get_meta_data() 可以得到詳細的handle 資料,其中包括fopen 的開啟方式(mode). $handle = fopen('abc.txt', 'r+');.
確定! 回上一頁