Re: [PHP-DEV] Peculiar behaviour of ext/xml set_X_handler() functions

2023-10-16 Thread G. P. B.
On Tue, 10 Oct 2023 at 14:52, G. P. B. wrote: > Hello internals, > > While doing some refactoring of ext/xml to bring it up to modern engine > standards, I discovered some peculiar behaviour of the functions which set > callable handlers. > > The PR in question is: https://github.com/php/php-src/

[PHP-DEV] Peculiar behaviour of ext/xml set_X_handler() functions

2023-10-10 Thread G. P. B.
Hello internals, While doing some refactoring of ext/xml to bring it up to modern engine standards, I discovered some peculiar behaviour of the functions which set callable handlers. The PR in question is: https://github.com/php/php-src/pull/12340 The issue is that this function doesn't just acc