PHP - Manual: DOMParentNode::prepend
2024-12-22
(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.
没有返回值。
官方地址:https://www.php.net/manual/en/domparentnode.prepend.php