PHP 8.4.1 Released!

DOMNode::isSameNode

(PHP 5, PHP 7, PHP 8)

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

Description

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

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.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top