Create new XMLWriter using a URI for output

XMLWriter::toUri

(PHP 8 >= 8.4.0)

XMLWriter::toUriCreate new XMLWriter using a URI for output

Description

public static XMLWriter::toUri(string $uri): static

Creates a new XMLWriter using a URI for output.

Parameters

uri

The URI of the resource for the output.

Return Values

Returns an XMLWriter.

See Also