DOMNodeList::count
PHP Manual
PHP Manual»DOMNodeList»DOMNodeList::count

DOMNodeList::count

(PHP 7 >= 7.2.0, PHP 8)

DOMNodeList::countGet number of nodes in the list

Descrizione

public function DOMNodeList::count(): int

Gets the number of nodes in the list.

Elenco dei parametri

Questa funzione non contiene parametri.

Valori restituiti

Returns the number of nodes in the list, which is identical to the length property.

To Top