DOMParentNode::append
(PHP 8)
DOMParentNode::append — Appends nodes after the last child node
Description
public DOMParentNode::append(DOMNode|string ...$nodes): void
Appends one or many nodes
to the list of children after the last child node.
Parameters
-
nodes
-
The nodes to append.
Return Values
No value is returned.
See Also
- DOMParentNode::prepend() - Prepends nodes before the first child node
© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/domparentnode.append.php