[GIT-PULLS] [php-src] PR #23140: Fix GH-23120: DOMNode::isEqualNode stack overflow on deeply nested trees

[email protected] (LamentXU123)
Newsgroups php.git-pulls
Message-ID <[email protected]>
Pull Request: https://github.com/php/php-src/pull/23140
Author: LamentXU123

DOMNode::isEqualNode() recursively compared ordered child lists. 

Compare each node without descending into its children first to solve this and we walk both subtrees in tree order to compare descendants iteratively.

Fix GH-23120
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.