PHP 8.1.6 Released!


(PHP 8)

DOMParentNode::prependPrepends nodes before the first child node


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

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

Liste de paramètres


The nodes to prepend.

Valeurs de retour

Aucune valeur n'est retournée.

Voir aussi

add a note add a note

User Contributed Notes

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