]> granicus.if.org Git - php/commitdiff
XMLReader::open() and XMLReader::xml() are now static
authorChristoph M. Becker <cmbecker69@gmx.de>
Sun, 11 Oct 2020 16:50:35 +0000 (18:50 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Sun, 11 Oct 2020 16:50:35 +0000 (18:50 +0200)
UPGRADING

index 09a317da7511dd514838c03ce575f33eeae77d10..f39522dbd535e679426a09d0b10230f5443b71dd 100644 (file)
--- 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.