array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'dom-tokenlist.supports.php', 1 => 'Dom\\TokenList::supports', 2 => 'Returns whether the given token is supported', ), 'up' => array ( 0 => 'class.dom-tokenlist.php', 1 => 'Dom\\TokenList', ), 'prev' => array ( 0 => 'dom-tokenlist.replace.php', 1 => 'Dom\\TokenList::replace', ), 'next' => array ( 0 => 'dom-tokenlist.toggle.php', 1 => 'Dom\\TokenList::toggle', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/dom/dom/tokenlist/supports.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(PHP 8 >= 8.4.0)
Dom\TokenList::supports — Returns whether the given token is supported
Returns whether token is in the
associated attribute's supported tokens.
tokenThrows a TypeError when the attribute does not define a supported tokens list.