PHP Manual
后退 |  | 前进

# DOMNode->cloneNode()

(no version information, might be only in CVS)

DOMNode->cloneNode() -- Clones a node

## 说明

class 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->hasAttributes()