← All docs
is_numeric() — internals
Compiler internals for is_numeric(): lowering path, type checks, and runtime helpers.
is_numeric() — internals
Where it lives
- Signature:
src/builtins/types/is_numeric.rs - Lowering:
src/codegen/lower_inst/builtins/is_numeric.rs:22 (lower_is_numeric) - Function symbol:
lower_is_numeric()
Lowering notes
- Lowers
is_numeric()for concrete scalar values.
Runtime helpers
No direct __rt_* helpers captured — the lowering is inlined or routes through another builtin.
Signature summary
function is_numeric(mixed $value): bool
What the type checker enforces
- Arity: takes exactly 1 argument.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/types/is_numeric.rs(eval_builtin!) - Dispatch hooks:
direct,values