php8.5
Home/ Manual/ dom / tokenlist/ Dom\TokenList::count

Dom\TokenList::count

PHP function Edit on GitHub ✎

(PHP 8 >= 8.4.0)

Returns the number of tokens in the list

Description

Dom\TokenList::count(): int

Returns the number of tokens in the list.

Parameters Parameters

Return Values

The number of tokens in the list.

Source: reference/dom/dom/tokenlist/count.xml · from the official PHP manual (php/doc-en)