(PHP 5 >= 5.1.2, PHP 7, PHP 8, PECL xmlwriter >= 0.1.0)
XMLWriter::outputMemory -- xmlwriter_output_memory — Returns current buffer
Object-oriented style
Procedural style
Returns the current buffer.
writerflush
Whether to flush the output buffer or not. Default is true.
Returns the current buffer as a string.