← All docs
class_attribute_args() — internals
Compiler internals for class_attribute_args(): lowering path, type checks, and runtime helpers.
class_attribute_args() — internals
Where it lives
- Signature:
src/builtins/system/class_attribute_args.rs - Lowering:
src/codegen/lower_inst/builtins/attributes.rs:61 (lower_class_attribute_args) - Function symbol:
lower_class_attribute_args()
Lowering notes
- Lowers
class_attribute_args(class, attr)into a Mixed PHP argument array.
Runtime helpers
No direct __rt_* helpers captured — the lowering is inlined or routes through another builtin.
Signature summary
function class_attribute_args(string $class_name, string $attribute_name): array
What the type checker enforces
- Arity: takes exactly 2 arguments.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/symbols/class_attribute_args.rs(eval_builtin!) - Dispatch hooks:
direct,values