DOMNodeList
PHP Manual

DOMNodeList::count

(No version information available, might only be in Git)

DOMNodeList::countGet number of nodes in the list

Description

public int DOMNodeList::count ( void )

Parameters

This function has no parameters.

Return Values

Returns number of nodes in the list or FALSE on failure.

Changelog

Version Description
7.2.0 The Countable interface is implemented and returns the value of the length property.


DOMNodeList
PHP Manual