Skip to content

[pull] master from php:master - #1272

Merged
pull[bot] merged 4 commits into
turkdevops:masterfrom
php:master
Sep 16, 2026
Merged

pull[bot] merged 4 commits into
turkdevops:masterfrom
php:master

Conversation

@pull

@pull pull Bot commented Sep 16, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

devnexen and others added 4 commits September 15, 2026 21:26
…reference

insertBefore($n, $n) unlinked the node, then rebuilt its position from the
pointers the unlink had just cleared, leaving it out of the document with a
self-referencing sibling list, freed twice at teardown. Retarget the reference
to the node's next sibling, as the modern DOM already does.

Close GH-23379
* PHP-8.4:
  Fix GH-23365: DOMNode::insertBefore() drops the node used as its own reference
* PHP-8.5:
  Fix GH-23365: DOMNode::insertBefore() drops the node used as its own reference
This is only ever written to, but never read, and since this is static,
no other translation unit or module can access this too.
@pull pull Bot locked and limited conversation to collaborators Sep 16, 2026
@pull pull Bot added the ⤵️ pull label Sep 16, 2026
@pull
pull Bot merged commit 38956a3 into turkdevops:master Sep 16, 2026
0 of 2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants