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