← All docs
func_get_arg() - internals
Compiler internals for func_get_arg(): lowering path, type checks, and runtime helpers.
func_get_arg() - internals
Where it lives
- Signature:
crates/elephc-builtin-contract/src/catalog_surfaces.rs - Lowering:
(not lowered):0 - Function symbol:
(none, type-checker only)()
Semantic descriptor
Shared contract without a registry semantic descriptor.
EIR and runtime boundary
No registry-backed typed runtime target applies.
Signature summary
function func_get_arg(int $position): mixed
What the type checker enforces
- Arity: takes exactly 1 argument.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/core/func_get_arg.rs(eval_builtin!) - Execution: Magician interpreter adapter.
- Adapter reason:
callable-or-reflection. - Dispatch hooks:
direct,values