Re: Deprecate filter_input() or not?

From: Date: Fri, 07 Feb 2025 12:19:40 +0000
Subject: Re: Deprecate filter_input() or not?
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-126328@lists.php.net to get a copy of this message
On Wed, 5 Feb 2025, Christoph M. Becker wrote: > There is some discussion on a recent bug report[1] about > filter_input() and related functionality. The bug report had been > closed, because this functionality has already been added to the > general deprecation RFC for PHP 8.5[2]. Then the OP raised a point > regarding the usefulness of filter_input() to get at the original > input, to avoid working with possibly modified superglobals. > > In my opinion, this topic should be discussed here, and not in a bug > report. So, has anybody thoughts about the filter_input() > deprecation? I don't think they need to be deprecated, just because it is "confusing". They were added specifically so that you could operate on the original raw data. cheers, Derick

« previous php.internals (#126328) next »