Skip to content

[pull] master from php:master - #1172

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

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

Conversation

@pull

@pull pull Bot commented Aug 9, 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 : )

NickSdot and others added 4 commits August 9, 2026 15:27
sxe_get_element_by_offset scanned with nodendx <= offset, so a negative
offset skipped the loop and returned the node it started from, and the
SXE_ITER_NONE branches of the read and write handlers aliased the node
for every offset other than 0. Reads and isset() reported an existing
element and writes overwrote it. An offset that resolves to no element
now warns and leaves the document alone.

Closes GH-23068
* PHP-8.4:
  Fix SimpleXML integer offsets that cannot resolve aliasing a node
* PHP-8.5:
  Fix SimpleXML integer offsets that cannot resolve aliasing a node
@pull pull Bot locked and limited conversation to collaborators Aug 9, 2026
@pull pull Bot added the ⤵️ pull label Aug 9, 2026
@pull
pull Bot merged commit 4e55e35 into turkdevops:master Aug 9, 2026
1 of 4 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