← All docs
isset() — internals
Compiler internals for isset(): lowering path, type checks, and runtime helpers.
isset() — internals
Where it lives
- Signature:
src/types/signatures.rs - Lowering:
src/codegen/lower_inst/builtins/isset.rs:24 (lower_isset) - Function symbol:
lower_isset()
Lowering notes
- Lowers
isset()for values already evaluated by the EIR frontend.
Runtime helpers
No direct __rt_* helpers captured — the lowering is inlined or routes through another builtin.
Signature summary
function isset(mixed $var, ...$vars): bool
What the type checker enforces
- Arity: takes exactly 1 argument.
- Variadic: collects excess arguments into
$vars.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/symbols/isset.rs(eval_builtin!) - Dispatch hooks:
direct,values - Variadic: collects excess arguments into
$vars.