fflush

(PHP 4 >= 4.0.1, PHP 5)

fflush -- Flushes the output to a file

Description

bool fflush ( resource handle )

This function forces a write of all buffered output to the resource pointed to by the file handle handle. Siker esetén TRUE értékkel tér vissza, ellenkező esetben FALSE értéket ad.

A fájlmutatónak valósnak kell lennie, egy fopen() vagy fsockopen() által sikeresen megnyitott erőforrásra kell mutatnia.