PHP 8.4.0 RC3 available for testing

fflush

(PHP 4 >= 4.0.1, PHP 5, PHP 7, PHP 8)

fflushInvia l'output in un file

Descrizione

fflush(resource $handle): bool

Questa funzione forza la scrittura di tutto l'output bufferizzato sulla risorsa puntata dal puntatore handle. Restituisce true in caso di successo, false in caso di fallimento.

Il puntatore al file deve essere valido e deve puntare ad un file correttamente aperto da fopen(), popen() o fsockopen().

Il puntatore al file deve essere valido, e deve puntare ad un file aperto con successo da fopen() o fsockopen() (e non ancora chiuso da fclose()).

add a note

User Contributed Notes 1 note

up
19
michaelsy01[NXSPAM] at informantum dot de
5 years ago
A hint for PHP beginners like me:
The buffered output which is write by fflush() has nothing to do with the output buffer which is initiated by the ob_start() function.
To Top