Skip to content

Conversation

@nielsdos
Copy link
Member

@nielsdos nielsdos commented Sep 20, 2023

https://bugs.php.net/bug.php?id=68325
RFC: https://wiki.php.net/rfc/xml_option_parse_huge

This issue is work-aroundable with xml_parse by using chunked parsing. However, that's cumbersome when it's already in memory. Also, that doesn't work for xml_parse_into_struct as it doesn't really support chunked parsing.

Reminder for self: as a follow up, convert int option fields to booleans.

I'll probably need to send an email to internals for this, I'll do that sometime soon.

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.

Looks sensible to me, not sure if an email is necessary, but it can't possibly hurt.

@nielsdos
Copy link
Member Author

RFC was accepted. Rebased + added UPGRADING.
I'll merge tomorrow after reading through this myself again.

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.

3 participants