(PHP 8 >= 8.4.0)
XMLWriter::toMemory — Create new XMLWriter using memory for string output
public static XMLWriter::toMemory(): static
Creates a new XMLWriter using memory for string output.
This function has no parameters.
Returns an XMLWriter.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/xmlwriter.tomemory.php