DOMParentNode::prepend
(PHP 8)
DOMParentNode::prepend — Prepends nodes before the first child node
說明
Prepends one or many nodes to the list of children before the first child node.
參數
-
nodes The nodes to prepend.
返回值
沒有返回值。
參見
- DOMParentNode::append() - Appends nodes after the last child node