[php-src] PR #25754: Fix modern Dom Notation property handlers

From: Date: Wed, 25 Nov 2026 18:25:12 +0000
Subject: [php-src] PR #25754: Fix modern Dom Notation property handlers
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-41012@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/25754 Author: imattas Fixes #25752 The modern notation property table defines the publicId and systemId virtual handlers, but the class registry pointed to the generic node table. Reads fell through to standard property lookup and could crash the process. Register the notation-specific table, add direct property regression coverage, and update the notation var_dump expectation. Testing: - Built PHP 8.7.0-dev at 23970fab063ecba9f63f86a5a788e7cd14e35f0e with AddressSanitizer. Before the fix, reading publicId crashed in zend_std_read_property(); after the fix, both parsed identifiers were returned. - Focused ext/dom tests on that patched build: 3 passed, 0 failed (Notation_properties, XMLDocument_node_notation_wiring, DTDNamedNodeMap). - Rebased onto latest master 5701fc611ecb3bd39a2323804b1e1811afb45f4f; the incorrect registration remains present there.

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