DOMParentNode::prepend

(PHP 8)

DOMParentNode::prependPrepends nodes before the first child node

Beschreibung

public DOMParentNode::prepend(DOMNode|string ...$nodes): void

Prepends one or many nodes to the list of children before the first child node.

Parameter-Liste

nodes

The nodes to prepend.

Rückgabewerte

Es wird kein Wert zurückgegeben.

Siehe auch

add a note

User Contributed Notes

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