1--TEST--
2TokenList: debug
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);
11
12?>
13--EXPECT--
14object(Dom\TokenList)#3 (2) {
15  ["length"]=>
16  int(3)
17  ["value"]=>
18  string(5) "a b c"
19}
20