php / 8.1.5 / domchildnode.before.html /

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

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/domchildnode.before.php