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

There is 1 diff reported by users for this test.

Count Diff
4 (100%)
004+
005+ Notice: Undefined property: DOMDocument::$documentElement in %s/DOMNode_hasChildNodes.php on line 10
006+
007+ Fatal error: Uncaught Error: Call to a member function hasChildNodes() on null in %s/DOMNode_hasChildNodes.php:10
008+ Stack trace:
009+ #0 {main}
010+ thrown in %s/DOMNode_hasChildNodes.php on line 10
004- bool(false)
005- Document has child nodes
006- bool(true)
007- Remove node and save
008- <?xml version="1.0"?>
009- <root/>
010- Document has child nodes
011- bool(false)
012- Document with 2 child nodes
013- bool(true)