xmlwriter_start_dtd()
function xmlwriter_start_dtd(mixed $writer, string $qualifiedName, ?string $publicId = null, ?string $systemId = null): bool
Starts a DTD.
Parameters:
$writer(mixed)$qualifiedName(string)$publicId(?string), defaultnull, optional$systemId(?string), defaultnull, optional
Returns: bool
Availability
- Compiled (AOT): supported through an injected elephc-PHP prelude.
eval()(magician interpreter): supported — declarative interpreter builtin (crates/elephc-magician/src/interpreter/builtins/xml/xmlwriter_start_dtd.rs).
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how xmlwriter_start_dtd is implemented in the compiler, see the internals page.