XMLWriter::openURI
XMLWriter::setIndentString
XMLWriter Funções
PHP Manual

# XMLWriter::outputMemory

(PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)

XMLWriter::outputMemory — Returns current buffer

### Descrição

Oriented object style

XMLWriter
string outputMemory ([ bool `$flush` ] )

Procedural style

string xmlwriter_output_memory ( resource `$xmlwriter` [, bool `$flush` ] )

Returns the current buffer.

### Parâmetros

`xmlwriter`

  Apenas para chamadas de procedimentos. O recurso XMLWriter resource que esta sendo modificado. Este recurso vem de uma chamada a xmlwriter_open_uri() ou xmlwriter_open_memory().

`flush`

  Whether to flush the output buffer or no. Default is `TRUE`.

### Valor Retornado

Returns the current buffer as a string.

### Veja Também

- XMLWriter::flush - Flush current buffer

XMLWriter::openURI
XMLWriter::setIndentString
XMLWriter Funções
PHP Manual