Skip to content

Fix GH-12231: SimpleXML xpath should warn when returning other return types than node lists#18073

Closed
ndossche wants to merge 1 commit intophp:masterfrom
ndossche:fix-12231
Closed

Fix GH-12231: SimpleXML xpath should warn when returning other return types than node lists#18073
ndossche wants to merge 1 commit intophp:masterfrom
ndossche:fix-12231

Conversation

@ndossche
Copy link
Member

See reasoning in issue.

@ndossche ndossche marked this pull request as ready for review March 15, 2025 09:59
Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MSTM, can be elevated to a TypeError in a future release anyway.

@ndossche ndossche closed this in 86a67fe Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SimpleXML xpath should warn when returning other return types than node lists

2 participants