public static XMLWriter::toUri(string $uri): static
Creates a new XMLWriter using a URI for output.
uriThe URI of the resource for the output.
Returns an XMLWriter.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/xmlwriter.touri.php