1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Fix GH-21097: Accessing Dom\Node properties can can throw TypeError(s)

Split the handler again, or defer to instanceof when performance doesn't
matter.

Closes GH-21108.
This commit is contained in:
Niels Dossche
2026-02-01 10:41:37 +01:00
parent 1dfc8028d8
commit b8fc6bd1c8
7 changed files with 77 additions and 5 deletions

2
NEWS
View File

@@ -16,6 +16,8 @@ PHP NEWS
- DOM:
. Fixed bug GH-21077 (Accessing Dom\Node::baseURI can throw TypeError).
(ndossche)
. Fixed bug GH-21097 (Accessing Dom\Node properties can can throw TypeError).
(ndossche)
- PDO_PGSQL:
. Fixed bug GH-21055 (connection attribute status typo for GSS negotiation).