DOMChildNode::before
(PHP 8)
DOMChildNode::before — Adds nodes before the node
说明
Adds the passed nodes
before the node.
参数
-
nodes
-
Nodes to be added before the node.
返回值
没有返回值。
参见
- DOMChildNode::after() - Adds nodes after the node
- DOMChildNode::remove() - Removes the node
- DOMChildNode::replaceWith() - Replaces the node with new nodes

User Contributed Notes
There are no user contributed notes for this page.