php8.5
Home/ Manual/ xmlwriter / xmlwriter/ XMLWriter::toMemory

XMLWriter::toMemory

PHP function Edit on GitHub ✎

(PHP 8 >= 8.4.0)

Create new XMLWriter using memory for string output

Description

XMLWriter::toMemory(): static

Creates a new XMLWriter using memory for string output.

Parameters Parameters

Return Values

Returns an XMLWriter.

See Also

  • XMLWriter::toStream
  • XMLWriter::toUri

Source: reference/xmlwriter/xmlwriter/tomemory.xml · from the official PHP manual (php/doc-en)