1--TEST--
2TokenList: count
3--EXTENSIONS--
4dom
5--FILE--
6<?php
7
8$dom = DOM\XMLDocument::createFromString('<root class="a b c"><child/></root>');
9$element = $dom->documentElement;
10var_dump($element->classList->count(), count($element->classList), $element->classList->length);
11
12?>
13--EXPECT--
14int(3)
15int(3)
16int(3)
17