← All docs

exit() — internals

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

exit() — internals

Where it lives

Runtime helpers

No direct __rt_* helpers captured — the lowering is inlined or routes through another builtin.

Signature summary

function exit(int $status): void

What the type checker enforces

  • Arity: takes 0–1 arguments (1 optional).

Eval interpreter (magician)

Cross-references