XMLReader::fromStream
(PHP 8 >= 8.4.0)
XMLReader::fromStream — Creates an XMLReader from a stream to read from
Description
Creates an XMLReader from a stream to read from.
Parameters
stream
-
The stream to read the XML from.
encoding
-
The document encoding or null.
flags
-
A bitmask of the LIBXML_*
constants.
documentUri
-
Optional document base URI.