Re: [RFC] [Discussion] FILTER_THROW_ON_FAILURE
| From: | Derick Rethans | Date: | Mon, 14 Jul 2025 12:44:07 +0000 |
| Subject: | Re: [RFC] [Discussion] FILTER_THROW_ON_FAILURE | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-128033@lists.php.net to get a copy of this message | ||
On Sat, 5 Jul 2025, Daniel Scherzer wrote:
> Hi internals,
>
> I'd like to start the discussion for a new RFC about adding
> a FILTER_THROW_ON_FAILURE flag to the filter extension.
>
> * RFC: https://wiki.php.net/rfc/filter_throw_on_failure
> * Implementation: https://github.com/php/php-src/pull/18896
I think this is an excellent idea.
I left a review on the PR, with a suggestion to improve the exception
message (slightly):
https://github.com/php/php-src/pull/18896/files#r2204824115
cheers,
Derick