ConFoo 2025

The Dom\NodeList class

(PHP 8 >= 8.4.0)

Вступ

Represents a live list of nodes.

This is the modern, spec-compliant equivalent of DOMNodeList.

Короткий огляд класу

class Dom\NodeList implements IteratorAggregate, Countable {
/* Властивості */
public readonly int $length;
/* Методи */
/* Not documented yet */
}

Властивості

length

The number of nodes in the list. The range of valid child node indices is 0 to length - 1 inclusive.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top