← All docs

ob_clean() — internals

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

ob_clean() — internals

Where it lives

Lowering notes

  • Lowers ob_clean() to the truncate-top-buffer helper (bool result).

Runtime helpers

The following runtime helpers are referenced:

  • __rt_ob_clean
  • __rt_ob_end_clean
  • __rt_ob_end_flush
  • __rt_ob_flush

Signature summary

function ob_clean(): bool

What the type checker enforces

  • Arity: takes no arguments.

Eval interpreter (magician)

Cross-references