[php-src] PR #12897: Fix GH-12850: DOMNameSpaceNode parent not unset when namespace gets unlinked

From: Date: Thu, 07 Dec 2023 23:35:24 +0000
Subject: [php-src] PR #12897: Fix GH-12850: DOMNameSpaceNode parent not unset when namespace gets unlinked
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-24454@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/12897 Author: nielsdos The problem is that the namespace nodes are exposed as fake nodes because of their different underlying data structure, which means that the parent link isn't actually updated when it gets removed; and we don't have a simple way of tracking it. So just perform a check for the node type and check whether the namespace declaration associated with the fake node is still in existence.

« previous php.git-pulls (#24454) next »