← All docs

fflush() — internals

Compiler internals for fflush(): lowering path, type checks, and runtime helpers.

fflush() — internals

Where it lives

Lowering notes

  • Lowers fflush(stream) through the shared fd flush runtime helper.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_fflush

Signature summary

function fflush(resource $stream): bool

What the type checker enforces

  • Arity: takes exactly 1 argument.

Eval interpreter (magician)

Cross-references