Re: [PHP-DEV] Consensus on argument validation for built-in functions

2025-04-11 Thread Jorg Sowa
Thank you all for inputs. There is no consensus at all, so we must go through RFC process. I will sum up feedback and I will create the RFC this weekend. Kind regards, Jorg

Re: [PHP-DEV] [RFC] [Discussion] Change default for zend.exception_ignore_args INI setting

2025-04-11 Thread Kamil Tekiela
> In an ideal world they are never revealed to the end user, but real-world solutions fall short. It's not uncommon for people to have display_errors enabled for some reason or another. It is also possible for sites to be misconfigured, or for applications to make mistakes and accidentally dump sta

Re: [PHP-DEV] Consensus on argument validation for built-in functions

2025-04-11 Thread Jakub Zelenka
> > > This thread clearly shows that there is no consensus so I think the only > way forward would be to create a policy RFC to make decision about this > approach. Until then no PR introducing exception, deprecation or just plain > warning for this sort of things should be merged. > > In terms of

Re: [PHP-DEV] Consensus on argument validation for built-in functions

2025-04-11 Thread Jakub Zelenka
Hi, On Tue, Mar 11, 2025 at 12:09 AM Jorg Sowa wrote: > Hello everyone, > > I’d like to align on the approach to validating arguments for built-in > functions (usually for flag inputs). Some ongoing discussions in PRs: > - https://github.com/php/php-src/pull/15647 > - https://github.com/php/php-