DOMNode
PHP 手册

DOMNode::isSameNode

(PHP 5)

DOMNode::isSameNode Indicates if two nodes are the same node

说明

bool DOMNode::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


DOMNode
PHP 手册