← All docs

fflush()

Flushes the output to a file.

fflush()

function fflush(resource $stream): bool

Flushes the output to a file.

Parameters:

  • $stream (resource)

Returns: bool

Availability

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how fflush is implemented in the compiler, see the internals page.