← All docs

ob_get_contents() — internals

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

ob_get_contents() — internals

Where it lives

Lowering notes

  • Lowers ob_get_contents() and boxes the runtime string-or-false result.

Runtime helpers

The following runtime helpers are referenced:

  • __rt_ob_contents
  • __rt_ob_get_clean_pop
  • __rt_ob_get_flush_pop

Signature summary

function ob_get_contents(): mixed

What the type checker enforces

  • Arity: takes no arguments.

Eval interpreter (magician)

Cross-references