← All docs

xml_set_start_namespace_decl_handler() — internals

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

xml_set_start_namespace_decl_handler() — internals

Where it lives

Lowering notes

  • Uses the eir_graph strategy from the single-source builtin descriptor.
  • Emits backend-neutral EIR primitives or a small EIR graph through BuiltinLoweringContext.

Semantic descriptor

  • Target strategy: eir_graph
  • Validation: checker_hook
  • Result type source: checked
  • Result ownership: non_heap
  • Effects: static (6 declared effects)
  • Requirements: static (0 requirements)
  • Callable policy: static_only
  • Target support: macos-aarch64, ios-arm64, ios-sim-arm64, linux-aarch64, linux-x86_64

EIR and runtime boundary

  • Typed EIR target: descriptor-emitted EIR primitives or graph; no opaque builtin call remains.

Signature summary

function xml_set_start_namespace_decl_handler(mixed $parser, mixed $handler): bool

What the type checker enforces

  • Arity: takes exactly 2 arguments.

Eval interpreter (magician)

Cross-references