The Dom\HTMLCollection class
(PHP 8 >= 8.4.0)
简介
Represents a static set of elements. It is similar to Dom\NodeList, but restricted to Dom\Element nodes.
类摘要
/* 属性 */
/* 方法 */
/* Not documented yet */
}属性
lengthThe number of elements.
更新日志
| 版本 | 说明 |
|---|---|
| 8.5.0 | Cloning a Dom\HTMLCollection object now fails. |
注释
注意:
此 DOM 扩展在处理方法或属性时使用 UTF-8 编码。 解析器方法会自动检测编码,或允许调用者指定编码。
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
