DOMNode::isSameNode

Indicates if two nodes are the same node

Description

public bool DOMNode::isSameNode(DOMNode $otherNode)

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

Parameters

otherNode

The compared node.

Return Values

Returns true on success or false on failure.