[php-src] PR #21082: Fix GH-21077: Accessing Dom\Node::baseURI can throw TypeError

From: Date: Thu, 29 Jan 2026 17:29:48 +0000
Subject: [php-src] PR #21082: Fix GH-21077: Accessing Dom\Node::baseURI can throw TypeError
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-34714@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/21082 Author: ndossche Prior to this patch there was a common read handler, and it relied on the dom class set in the intern document. However, Dom\Implementation allows creating DTDs unassociated with a document, so we can't rely on an intern document and the check fails. This causes the ZVAL_NULL() path to be taken. To solve this, just split the handler.

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