← All docs
ob_end_clean()
Cleans (erases) the contents of the active output buffer and turns it off.
ob_end_clean()
function ob_end_clean(): bool
Cleans (erases) the contents of the active output buffer and turns it off.
Parameters: none.
Returns: bool
Availability
- Compiled (AOT): supported by the Elephc code generator.
eval()(magician interpreter): supported — declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/core/ob_end_clean.rs).
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how ob_end_clean is implemented in the compiler, see the internals page.