On Mon, Aug 26, 2024 at 11:58 PM Bilge <bi...@scriptfusion.com> wrote:
> In case it matters, my initial inclination was also to do what some others > have suggested, and modify the SEND opcodes so that the default is not > actually looked up using reflection at all, but rather we just send nothing > to the function and it can use its default as it would normally, but since > I had the good sense to ask an engine maintainer how they would approach > this problem, they cautioned me that this was the approach Stas took 10 > years ago > <https://github.com/php/php-src/compare/master...smalyshev:php-src:skip_params7>, > that that approach was horrendous (paraphrasing) and they would never > support something like that (mainly because there's like 11 of them and > modifying them all would be a complete mess). > Interesting. Can you elaborate? There's like 11 of what? Best, Jakob