Test: /ext/dom/tests/dom006.phpt - Version 7.1.1-dev    

There is 1 diff reported by users for this test.

Count Diff
4 (100%)
001+ Notice: Undefined property: books::$documentElement in %s/dom006.php on line 14
002+
003+ Fatal error: Uncaught Error: Call to a member function appendChild() on null in %s/dom006.php:14
004+ Stack trace:
005+ #0 %s/dom006.php(22): books->addBook('PHP de Luxe', 'Richard Samar, ...')
006+ #1 {main}
007+ thrown in %s/dom006.php on line 14
001- <?xml version="1.0"?>
002- <books>
003- <book>
004- <title>The Grapes of Wrath</title>
005- <author>John Steinbeck</author>
006- </book>
007- <book>
008- <title>The Pearl</title>
009- <author>John Steinbeck</author>
010- </book>
011- <book><title>PHP de Luxe</title><author>Richard Samar, Christian Stocker</author></book></books>