# XMLWriter::toUri

(PHP 8 >= 8.4.0)

XMLWriter::toUri — Create new XMLWriter using a URI for output

### Beschreibung

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

Creates a new XMLWriter using a URI for output.

### Parameter-Liste

`uri`

  Der Ressource-URI, der zur Ausgabe verwendet wird.

### Rückgabewerte

Returns an XMLWriter.

### Siehe auch

- XMLWriter::toMemory() - Create new XMLWriter using memory for string output
- XMLWriter::toStream() - Create new XMLWriter using a stream for output

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open