(PHP 5 >= 5.1.2)
XMLReader::XML — Set the data containing the XML to parse
Set the data containing the XML to parse.
String containing the XML to be parsed.
The document encoding or NULL.
A bitmask of the LIBXML_* constants.
Returns TRUE on success or FALSE on failure.
Version | Description |
---|---|
5.2.0 | encoding and options were added. |