Skip to content

Overhaul XML handler docs#2832

Merged
Girgias merged 6 commits intophp:masterfrom
Girgias:xml-handlers
Oct 4, 2023
Merged

Overhaul XML handler docs#2832
Girgias merged 6 commits intophp:masterfrom
Girgias:xml-handlers

Conversation

@Girgias
Copy link
Member

@Girgias Girgias commented Oct 3, 2023

This also removes the last remaining usage of the &note.func-callback; language snippet.

Copy link
Member

@ndossche ndossche left a comment

Choose a reason for hiding this comment

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

Changes look good.
I just have to check whether false can actually be passed, and if so, in which cases...

Copy link
Member

@ndossche ndossche left a comment

Choose a reason for hiding this comment

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

False remarks

Copy link
Member

@ndossche ndossche left a comment

Choose a reason for hiding this comment

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

LGTM, thanks.
One minor thing that can be improved, is the example of xml_set_object.
I noticed it has a destructor function, but that's not needed as xml_parser_free does nothing anymore, and the unsetting is useless as well. So removing that function would make the example a bit tidier.

@Girgias Girgias merged commit 5a14f90 into php:master Oct 4, 2023
@Girgias Girgias deleted the xml-handlers branch October 4, 2023 23:29
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.

2 participants