← All docs

intdiv() — internals

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

intdiv() — internals

Where it lives

Lowering notes

  • Lowers intdiv() for concrete integer-like numeric operands.

Runtime helpers

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

Signature summary

function intdiv(int $num1, int $num2): int

What the type checker enforces

  • Arity: takes exactly 2 arguments.

Eval interpreter (magician)

Cross-references