note 85384 added to class.domnodelist

From: Date: Wed, 27 Aug 2008 22:26:49 +0000
Subject: note 85384 added to class.domnodelist
Groups: php.notes 
Request: Send a blank email to php-notes+get-143903@lists.php.net to get a copy of this message
I doubt the accuracy of what saad105050 wrote below. In particular, in his example, he seems to assume that $element->getElementsByTagName() will return NULL if there are no matching nodes. This is not what happens; as per the documentation, a DOMNodeList is returned with the length property zero. ---- Server IP: 92.48.74.199 Probable Submitter: 86.159.24.194 ---- Manual Page -- http://www.php.net/manual/en/class.domnodelist.php Edit -- https://master.php.net/note/edit/85384 Del: integrated -- https://master.php.net/note/delete/85384/integrated Del: useless -- https://master.php.net/note/delete/85384/useless Del: bad code -- https://master.php.net/note/delete/85384/bad+code Del: spam -- https://master.php.net/note/delete/85384/spam Del: non-english -- https://master.php.net/note/delete/85384/non-english Del: in docs -- https://master.php.net/note/delete/85384/in+docs Del: other reasons-- https://master.php.net/note/delete/85384 Reject -- https://master.php.net/note/reject/85384 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#143903) next »