|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-01-08 16:22 UTC] adam at trachtenberg dot com
[2004-01-10 06:47 UTC] rrichards@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 03:00:01 2025 UTC |
Description: ------------ The domXPath object still returns nodes in an array instead of as a nodeList object. Reproduce code: --------------- $dom = new domDocument::load($xml); $xpath = new domXPath($dom); $results = $xpath->query('/'); var_dump($results); Expected result: ---------------- object(domnodelist)#14 (0) { ... } Actual result: -------------- array(1) { ... }