← All docs
xmlwriter_open_uri()
Creates a writer that outputs to a URI or file path; throws ValueError when it cannot be opened.
xmlwriter_open_uri()
function xmlwriter_open_uri(string $uri): mixed
Creates a writer that outputs to a URI or file path; throws ValueError when it cannot be opened.
Parameters:
$uri(string)
Returns: mixed
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Available |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how xmlwriter_open_uri is implemented in the compiler, see the internals page.