PHP 8.2.0 Alpha 2 available for testing

DOMChildNode::replaceWith

(PHP 8)

DOMChildNode::replaceWithReplaces the node with new nodes

Açıklama

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

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

Değiştirgeler

nodes

The replacement nodes.

Dönen Değerler

Hiçbir değer dönmez.

Ayrıca Bakınız

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top