The Dom\ChildNode interface
(PHP 8 >= 8.4.0)
Introduction
This is the modern, spec-compliant equivalent of DOMChildNode.
Table of Contents
- Dom\ChildNode::after — Adds nodes after the node
- Dom\ChildNode::before — Adds nodes before the node
- Dom\ChildNode::remove — Removes the node
- Dom\ChildNode::replaceWith — Replaces the node with new nodes
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
