← All docs
xml_parser_create_ns() — internals
Compiler internals for xml_parser_create_ns(): lowering path, type checks, and runtime helpers.
xml_parser_create_ns() — internals
Where it lives
- Signature:
crates/elephc-builtin-contract/src/catalog_xml.rs - Lowering:
src/xml_prelude/build/parser.rs:1348 (xml_parser_create_ns) - Function symbol:
xml_parser_create_ns()
Lowering notes
- Implemented by the compiler-injected xml 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 xml_parser_create_ns(?string $encoding = null, string $separator = ':'): mixed
What the type checker enforces
- Arity: takes 0–2 arguments (2 optional).
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/xml/xml_parser_create_ns.rs(eval_builtin!) - Execution: Magician interpreter adapter.
- Adapter reason:
dynamic-language-surface. - Dispatch hooks:
direct,values