← All docs

xml_parser_create() — internals

Compiler internals for xml_parser_create(): lowering path, type checks, and runtime helpers.

xml_parser_create() — internals

Where it lives

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(?string $encoding = null): mixed

What the type checker enforces

  • Arity: takes 0–1 arguments (1 optional).

Eval interpreter (magician)

Cross-references