← All docs
xmlwriter_flush() — internals
Compiler internals for xmlwriter_flush(): lowering path, type checks, and runtime helpers.
xmlwriter_flush() — internals
Where it lives
- Signature:
crates/elephc-builtin-contract/src/catalog_xml.rs - Lowering:
src/xml_prelude/build/writer.rs:1466 (xmlwriter_flush) - Function symbol:
xmlwriter_flush()
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_flush(mixed $writer, bool $empty = true): mixed
What the type checker enforces
- Arity: takes 1–2 arguments (1 optional).
Eval interpreter (magician)
- Declaration:
crates/elephc-magician/src/interpreter/builtins/xml/xmlwriter_flush.rs(eval_builtin!) - Execution: Magician interpreter adapter.
- Adapter reason:
dynamic-language-surface. - Dispatch hooks:
direct,values