Am 04.12.20 um 13:23 schrieb Christoph M. Becker:
> For clarity, it might be preferable to introduce a new static creation
> method for this.  The implementation could probably use
> xmlReaderForIO()[1], instead of xmlReaderForFile().

Wouldn't xmlReaderForFd() be more suitable or is this only for file
handles, not for streams?

What would be a good name for the new method? XMLReader::stream()?

Best,


Norbert

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to