← All docs

xmlwriter_start_dtd() — internals

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

xmlwriter_start_dtd() — 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 xmlwriter_start_dtd(mixed $writer, string $qualifiedName, ?string $publicId = null, ?string $systemId = null): bool

What the type checker enforces

  • Arity: takes 2–4 arguments (2 optional).

Eval interpreter (magician)

Cross-references