XMLWriter::openMemory
PHP function
Edit on GitHub ✎
(PHP 5 >= 5.1.2, PHP 7, PHP 8, PECL xmlwriter >= 0.1.0)
Create new xmlwriter using memory for string output
Description
Oop
XMLWriter::openMemory(): bool
Procedural
xmlwriter_open_memory(): XMLWriter|false
Creates a new XMLWriter using memory for string output.
Parameters Parameters
Return Values
Oop: Success
Procedural: Returns a new XMLWriter for later use with the xmlwriter functions on success, Falseforfailure.
Changelog
| Version | Description |
|---|---|
| 8.0.0 | This function returns now an XMLWriter instance on success. Previously, a Resource has been returned in this case. |
See Also
XMLWriter::openUri