DOMChildNode::replaceWith

(PHP 8)

DOMChildNode::replaceWithReplaces the node with new nodes

Descrizione

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

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

Elenco dei parametri

nodes

The replacement nodes.

Valori restituiti

Nessun valore viene restituito.

Vedere anche:

add a note add a note

User Contributed Notes

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