您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

DOMNode->cloneNode()

(No version information available, might be only in CVS)

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.