XMLReader::readOuterXml
PHP function
Edit on GitHub ✎
(PHP 5 >= 5.2.0, PHP 7, PHP 8)
Retrieve XML from current node, including itself
Description
XMLReader::readOuterXml(): string
Reads the contents of the current node, including the node itself.
Parameters Parameters
Return Values
Returns the contents of current node, including itself, as a string. Empty string on failure.