note 85384 deleted from class.domnodelist by cmb
| From: | cmb@php.net | Date: | Wed, 28 Nov 2018 14:43:48 +0000 |
| Subject: | note 85384 deleted from class.domnodelist by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-209789@lists.php.net to get a copy of this message | ||
Note Submitter: c dot 1 at smithies dot org
----
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.