XMLWriter::outputMemory
PHP function
Edit on GitHub ✎
(PHP 5 >= 5.1.2, PHP 7, PHP 8, PECL xmlwriter >= 0.1.0)
Returns current buffer
Description
Oop
XMLWriter::outputMemory(bool $flush = true): string
Procedural
xmlwriter_output_memory(XMLWriter $writer, bool $flush = true): string
Returns the current buffer.
Parameters
flushWhether to flush the output buffer or not. Default is true.
Return Values
Returns the current buffer as a string.
Changelog
| Version | Description |
|---|
See Also
XMLWriter::flush