DOMChildNode::before

(PHP 8)

DOMChildNode::beforeAdds nodes before the node

Description

public DOMChildNode::before(DOMNode|string ...$nodes): void

Adds the passed nodes before the node.

Parameters

nodes

Nodes to be added before the node.

Return Values

No value is returned.

See Also