简介
PHP Manual
PHP Manual»DOM»Dom\DtdNamedNodeMap

The Dom\DtdNamedNodeMap class

(PHP 8 >= 8.4.0)

Represents a named node map for entities and notation nodes of the DTD. It is similar to Dom\NamedNodeMap, but restricted to Dom\Entity and Dom\Notation nodes.

class Dom\DtdNamedNodeMap implements IteratorAggregate, Countable {
/* 属性 */
public readonly int $length;
/* 方法 */
/* Not documented yet */
}
length

The total number of entities and notation nodes.

版本 说明
8.5.0 Cloning a Dom\DtdNamedNodeMap object now fails.
To Top