DOMNode::appendChild
DOMNode::getLineNo
DOMNode
PHP Manual

# DOMNode::cloneNode

(PHP 5)

DOMNode::cloneNode — Clones a node

### 설명

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

Creates a copy of the node.

### 인수

`deep`

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

### 반환값

The cloned node.

DOMNode::appendChild
DOMNode::getLineNo
DOMNode
PHP Manual