Scholar Repository
Home>Manual>Indicates if two nodes are the same node

Indicates if two nodes are the same node


DOMNode::isSameNode

(PHP 5)

DOMNode::isSameNodeIndicates if two nodes are the same node

Description

bool DOMNode::isSameNode ( DOMNode $node )

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

Parameters

node

The compared node.

Return Values

Returns TRUE on success or FALSE on failure.


Home>Manual>Indicates if two nodes are the same node