]> granicus.if.org Git - php/commitdiff
Merge branch 'PHP-7.4'
authorChristoph M. Becker <cmbecker69@gmx.de>
Fri, 1 May 2020 10:42:09 +0000 (12:42 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Fri, 1 May 2020 10:42:09 +0000 (12:42 +0200)
* PHP-7.4:
  Fix #79528: Different object of the same xml between 7.4.5 and 7.4.4

1  2 
ext/simplexml/simplexml.c
ext/simplexml/tests/000.phpt
ext/simplexml/tests/009b.phpt
ext/simplexml/tests/bug51615.phpt

Simple merge
Simple merge
index 6909a034465295c43fe42d35d0872cf82087cf90,fd920e2e265b29720e24579ff216b8a4d12e7d20..bc651fe74479811dfd55baa1d75acc6349a16900
@@@ -26,28 -28,8 +26,7 @@@ object(SimpleXMLElement)#%d (3) 
      string(5) "elem1"
    }
    ["elem1"]=>
-   object(SimpleXMLElement)#%d (3) {
-     ["@attributes"]=>
-     array(1) {
-       ["attr1"]=>
-       string(5) "first"
-     }
-     ["comment"]=>
-     object(SimpleXMLElement)#%d (0) {
-     }
-     ["elem2"]=>
-     string(35) "
-    Here we have some text data.
-   "
-   }
+   string(10) "Bla bla 1."
    ["elem11"]=>
-   object(SimpleXMLElement)#%d (2) {
-     ["@attributes"]=>
-     array(1) {
-       ["attr2"]=>
-       string(6) "second"
-     }
-     [0]=>
-     string(10) "Bla bla 2."
-   }
+   string(10) "Bla bla 2."
  }
 -===DONE===
Simple merge