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

There is 1 diff reported by users for this test.

Count Diff
4 (100%)
001+ Notice: Undefined property: DOMDocument::$documentElement in %s/DOMElement_hasAttributes_basic.php on line 11
002- DOMElement
004+ Warning: get_class() called without object from outside a class in %s/DOMElement_hasAttributes_basic.php on line 14
005+
006+
005- bool(true)
007- Verify that we have a DOMElement object:
008- DOMElement
009-
010- Element should have no attributes:
009+ Fatal error: Uncaught Error: Call to a member function hasAttributes() on null in %s/DOMElement_hasAttributes_basic.php:17
010+ Stack trace:
011+ #0 {main}
012+ thrown in %s/DOMElement_hasAttributes_basic.php on line 17
011- bool(false)