Test: /ext/dom/tests/bug42082.phpt - Version 5.3.23        

Bug #42082 NodeList length zero should be empty
Submitted: 2007-07-23 19:17:20 Modified: 2007-08-06 16:24:09
From: ms419 Assigned:
Status: Closed Package: DOM XML related
PHP Version: 5.2.3 OS: Debian unstable

There are 2 different diffs reported by users for this test.

Count Diff
17 (94%)
001+ Warning: DOMXPath::query(): Invalid or inclomplete context in %s/bug42082.php on line 4
002+
003+ Warning: get_class() expects parameter 1 to be object, boolean given in %s/bug42082.php on line 5
004+
005+
006+ Notice: Trying to get property of non-object in %s/bug42082.php on line 6
007+ NULL
008+
009+ Notice: Trying to get property of non-object in %s/bug42082.php on line 7
001- DOMNodeList
002- int(0)
1 (6%)
001+ Warning: DOMXPath::query(): xpath.c:11188 Internal error: document without root in %s/bug42082.php on line 4