← 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

Compiled (AOT)Magician (eval)
AvailableAvailable

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

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