-
Notifications
You must be signed in to change notification settings - Fork 7.9k
ext/xml: Refactor extension to use FCC instead of zvals for handlers #12340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
88ad6ff
to
01a8927
Compare
Related to: php/doc-en#1391 |
Pushed fixes, ext/xml tests now pass, but I haven't given this a full review yet (and there's some TODOs, so I'll wait maybe for those) EDIT: this test fails |
1afecb6
to
3c66a18
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks mostly good, just minor comments.
And a potential BC problem, it's a problem because it's silent imo unlike the other BC change.
7cd23ae
to
e260bd6
Compare
f7a6fd4
to
f9ccae9
Compare
…handlers To get proper errors and sensible behaviour, as the current behaviour is somewhat insane and part of it should be axed ASAP
+ Add failing test
Has heap after free and still need more tests, especially around using proper callables for methods on the same class
f9ccae9
to
edc99d5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good apart from two silly nits.
Thanks for working on this.
Use proper callables instead. Related to: php/php-src#12340 Co-authored-by: Konrad Abicht <hi@inspirito.de>
To get proper errors and sensible behaviour, as the current behaviour is somewhat insane and part of it should be axed ASAP
Skipping CI due to known issues and failures regarding the GC and exceptions being swallowed