← All docs

die() — internals

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

die() — internals

Where it lives

Lowering notes

  • Lowered through the compiler’s dedicated language-construct path.

Semantic descriptor

Shared contract with a dedicated compiler language-construct implementation.

EIR and runtime boundary

Lowered by a dedicated compiler language-construct path.

Signature summary

function die(int $status = 0): void

What the type checker enforces

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

Eval interpreter (magician)

Cross-references