> Le 2 juil. 2025 à 21:56, Gina P. Banyard <intern...@gpb.moe> a écrit :
> 
> It is this time of year again where we proposed a list of deprecations to add 
> in PHP 8.5:
> 
> https://wiki.php.net/rfc/deprecations_php_8_5

Hi,

To reduce noise, I’ll be short.

General remark: For each deprecation, please research first if it’ll break code 
without easy replacement. Then, please provide an explicit deprecation message 
that will point to an alternative.

Some cases:

* __construct() in interface. Useful feature, see: 
https://phpstan.org/blog/solving-phpstan-error-unsafe-usage-of-new-static

* FILTER_CALLBACK: Useful in filter_var_array, as pointed by Rowan: 
https://externals.io/message/127849#127855

* filter_input(), filter_input_array(), and filter_has_var(): What if I want to 
operate on the original values of the superglobals?

—Claude

Reply via email to