← All docs
zend_version() - internals
Compiler internals for zend_version(): lowering path, type checks, and runtime helpers.
zend_version() - internals
Where it lives
- Signature:
crates/elephc-builtin-contract/src/catalog_data.rs - Lowering:
src/version_prelude.rs:34 (zend_version) - Function symbol:
zend_version()
Lowering notes
- Implemented by the compiler-injected version 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 zend_version(): string
What the type checker enforces
- Arity: takes no arguments.
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/core/zend_version.rs(eval_builtin!) - Execution: Magician interpreter adapter.
- Adapter reason:
dynamic-language-surface. - Dispatch hooks:
direct,values