From: Christoph M. Becker Date: Sun, 11 Oct 2020 16:50:35 +0000 (+0200) Subject: XMLReader::open() and XMLReader::xml() are now static X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fbf221cac45b31dc4a963b33cf558f3929d6ab10;p=php XMLReader::open() and XMLReader::xml() are now static --- diff --git a/UPGRADING b/UPGRADING index 09a317da75..f39522dbd5 100644 --- a/UPGRADING +++ b/UPGRADING @@ -653,6 +653,11 @@ PHP 8.0 UPGRADE NOTES instead the XmlParser instance is automatically destroyed if it is no longer referenced. +- XMLReader: + . XMLReader::open() and XMLReader::xml() are now static methods. They still + can be called dynamically, though, but inheriting classes need to declare + them as static if they override these methods. + - XMLWriter: . The XMLWriter functions now accept and return, respectively, XMLWriter objects instead of resources.