DOMNode::cloneNode

(PHP 5, PHP 7)

DOMNode::cloneNode Clones a node

Descrição

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

Creates a copy of the node.

Parâmetros

deep

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

Valor Retornado

The cloned node.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top