(PHP 8 >= 8.4.0)
XMLReader::fromUri — Creates an XMLReader from a URI to read from
$uri, ?string $encoding = null, int $flags = 0): staticCreates an XMLReader from a URI to read from.
Returns an XMLReader.
encoding will throw a
ValueError.