DOMNode::isSameNode

(PHP 5, PHP 7)

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

Description

public DOMNode::isSameNode ( DOMNode $node ) : bool

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.

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/domnode.issamenode.php