[php-src] PR #23187: Fix GH-12171: resolve SimpleXML nodes before equality compare
| From: | iliaal | Date: | Sun, 09 Aug 2026 14:32:48 +0000 |
| Subject: | [php-src] PR #23187: Fix GH-12171: resolve SimpleXML nodes before equality compare | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-37706@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23187
Author: iliaal
Property proxies like $xml->first store the parent node plus an element iterator name.
sxe_objects_compare compared the parent wrappers, so sibling proxies always compared equal. Resolve
each side through php_sxe_get_first_node_non_destructive before comparing.