略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Dom\NodeList

2025-02-27

The Dom\NodeList class

(PHP 8 >= 8.4.0)

简介

Represents a live list of nodes.

This is the modern, spec-compliant equivalent of DOMNodeList.

类摘要

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

属性

length

The number of nodes in the list. The range of valid child node indices is 0 to length - 1 inclusive.

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。

官方地址:https://www.php.net/manual/en/class.dom-nodelist.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3