On 25 Apr 2022, at 11:35, Rowan Tommins <rowan.coll...@gmail.com> wrote: > Taking time to find and make fixes is the whole point of deprecation notices > - if nothing else changes, they can expect to have another 3.5 years before a > version of PHP is released where these become errors. Upgrading to PHP 8.1 as > soon as possible but only tackling the deprecations when time allows is > absolutely the right thing to do.
That's true for things that need to be fixed, like the deprecation and removal of magic quotes, but this is a lot of work for... I can't provide an answer to that. In the mean time, I've only convinced 3 teams to upgrade to 8.1, and two of them are using `set_error_handler()` to specifically ignore this error (the log files were filled with far too many "passing null to parameter" deprecation messages, whereas adding #[ReturnTypeWillChange] wasn't too bad). Craig -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php