Forum und email

fflush

(PHP 4 >= 4.0.1, PHP 5)

fflush — Flushes the output to a file

說明

bool fflush ( resource $handle )

This function forces a write of all buffered output to the resource pointed to by the file handle .

參數

handle

檔案指標必須有效,並且必須指向一個由 fopen()fsockopen() 成功打開(但還沒有被 fclose() 關閉)的檔案。

Return值

如果成功則回傳 TRUE,失敗則回傳 FALSE