DOMNode::cloneNode

(PHP 5, PHP 7)

DOMNode::cloneNode Clones a node

Descrierea

public DOMNode::cloneNode ([ bool $deep ] ) : DOMNode

Creates a copy of the node.

Parametri

deep

Indicates whether to copy all descendant nodes. This parameter is defaulted to FALSE.

Valorile întoarse

The cloned node.