Re: [RFC] Deprecations for PHP 8.5
| From: | Derick Rethans | Date: | Mon, 14 Jul 2025 10:34:20 +0000 |
| Subject: | Re: [RFC] Deprecations for PHP 8.5 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-128029@lists.php.net to get a copy of this message | ||
On Wed, 2 Jul 2025, Kamil Tekiela wrote:
> On Wed, Jul 2, 2025, 21:58 Gina P. Banyard <internals@gpb.moe> wrote:
>
> > Some should be non-controversial, others a bit more. If such, they
> > might warrant their own dedicated RFC, or be dropped from the
> > proposal altogether.
>
> ext/filter deprecations
>
> As much as I hate this extension, I don't think deprecating these
> functions is the right choice. It's not unheard of for someone to use
> filter_input without the filter parameter to avoid getting the warning
> on missing value. See the top comment on
> https://www.php.net/manual/en/function.filter-input.php#115086
>
> Maybe we should just unbundle that whole extension?
Certainly not. It has been the recommended way of accepting incoming
request variables since whenever we removed magic quotes.
cheers,
Derick
--
https://derickrethans.nl | https://xdebug.org | https://dram.io
Author of Xdebug. Like it? Consider supporting me: https://xdebug.org/support
mastodon: @derickr@phpc.social @xdebug@phpc.social