(PHP 8)
DOMChildNode::replaceWith — Replaces the node with new nodes
...$nodes
Replaces the node with new nodes. A combination of DOMChildNode::remove() and DOMChildNode::append().
nodes
The replacement nodes.
没有返回值。