← All docs

ob_clean()

Cleans (erases) the contents of the active output buffer.

ob_clean()

function ob_clean(): bool

Cleans (erases) the contents of the active output buffer.

Parameters: none.

Returns: bool

Availability

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

Internals

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