xmlwriter_write_element()
function xmlwriter_write_element(mixed $writer, string $name, ?string $content = null): bool
Writes a complete element.
Parameters:
$writer(mixed)$name(string)$content(?string), defaultnull, optional
Returns: bool
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Available |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how xmlwriter_write_element is implemented in the compiler, see the internals page.