Deprecate filter_input() or not?

From: Date: Wed, 05 Feb 2025 13:13:16 +0000
Subject: Deprecate filter_input() or not?
Groups: php.internals 
Request: Send a blank email to internals+get-126296@lists.php.net to get a copy of this message
Hi all! 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? [1] <https://github.com/php/php-src/issues/17543> [2] <https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_filter_input_filter_input_array_and_filter_has_var> Christoph

« previous php.internals (#126296) next »