PHP - Manual: Dom\DocumentFragment
2025-02-27
(PHP 8 >= 8.4.0)
This represents a document fragment, which can be used as a container for other nodes.
This is the modern, spec-compliant equivalent of DOMDocumentFragment.
官方地址:https://www.php.net/manual/en/class.dom-documentfragment.php