← All docs
hash_copy() — internals
Compiler internals for hash_copy(): lowering path, type checks, and runtime helpers.
hash_copy() — internals
Where it lives
- Signature:
crates/elephc-builtin-contract/src/catalog_surfaces.rs - Lowering:
src/hash_prelude.rs:160 (hash_copy) - Function symbol:
hash_copy()
Lowering notes
- Implemented by the compiler-injected hash prelude.
Semantic descriptor
Shared contract implemented by an injected elephc-PHP prelude.
EIR and runtime boundary
Implemented by an injected elephc-PHP prelude.
Signature summary
function hash_copy(HashContext $context): HashContext
What the type checker enforces
- Arity: takes exactly 1 argument.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/string/hash_copy.rs(eval_builtin!) - Execution: Magician interpreter adapter.
- Adapter reason:
dynamic-language-surface. - Dispatch hooks:
direct,values