DOMChildNode::replaceWith

(PHP 8)

DOMChildNode::replaceWithReplaces the node with new nodes

说明

public DOMChildNode::replaceWith(DOMNode|string ...$nodes): void

Replaces the node with new nodes. A combination of DOMChildNode::remove() and DOMChildNode::append().

参数

nodes

The replacement nodes.

返回值

没有返回值。

参见

7i24.Com