(PHP 5, PHP 7)
Clones a node
public DOMNode DOMNode::cloneNode ([ bool $deep ] )
Creates a copy of the node.
Parameters:
deep
Indicates whether to copy all descendant nodes. This parameter is defaulted to FALSE
.
Returns:
The cloned node.
Please login to continue.