The Dom\DocumentFragment class
(PHP 8 >= 8.4.0)
Introduction
This represents a document fragment, which can be used as a container for other nodes.
This is the modern, spec-compliant equivalent of DOMDocumentFragment.
Class synopsis
/* Inherited constants */
/* Properties */
/* Inherited properties */
/* Methods */
/* Not documented yet */
/* Inherited methods */
/* Not documented yet */
}Properties
firstElementChildFirst child element or null.
Last child element or null.
The number of child elements.
childrenA Dom\HTMLCollection containing all child elements of this node. Available as of PHP 8.5.0.
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
