disable libxml_use_internal_errors when you’re done with it.
If we’re handling xml w/o clearing the errors, we might end up using more RAM then necessary.
I’ve had a really hard time figuring out where some bugs in feediron come from. Someone is not clearing their error queue.
We might discover some bugs. I’m certain we will! Some code pieces blindly clear the queue and other code pieces just set internal handling and ignore all errors (
classes/rssutils.php for example).
Since, there’s already an error_handler set this should be without further consequences, except some real bugs popping up.
I’d have sent a pull request, but I wanted to hear your opinions before putting any time into it.
Also, if a plugin were to disable internal error handling, other pieces of code that rely on it might not receive the needed information.