DOM
PHP Manual

DOMNode->isSameNode()

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

DOMNode->isSameNode() — Indicates if two nodes are the same node

说明

DOMNode
bool isSameNode ( DOMNode $node )

This function indicates if two nodes are the same node. The comparison is not based on content

参数

node

The compared node.

返回值

如果成功则返回 TRUE,失败则返回 FALSE


DOM
PHP Manual