← All docs

ctype_digit() — internals

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

ctype_digit() — internals

Where it lives

Lowering notes

  • Lowers ctype_digit(string) by checking every byte against the ASCII digit range.

Runtime helpers

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

Signature summary

function ctype_digit(string $text): bool

What the type checker enforces

  • Arity: takes exactly 1 argument.

Eval interpreter (magician)

Cross-references