Re: [RFC] Consistent type errors for internal functions

From: Date: Wed, 06 Feb 2019 08:18:25 +0000
Subject: Re: [RFC] Consistent type errors for internal functions
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-104227@lists.php.net to get a copy of this message
On Wed, Feb 6, 2019 at 7:30 AM Nicolas Grekas <nicolas.grekas@gmail.com> wrote: > Hi Nikita > > > https://wiki.php.net/rfc/consistent_type_errors > > > Would it make sense and be possible to trigger a deprecation notice in PHP > 7.4? > > That might help the ecosystem move forward in a smooth way instead of > experimenting the failure when actually moving to 8. > > Nicolas > I don't think so. We generally consider a warning a "harder" error than a deprecation (unlike deprecations, they are part of the default error_reporting level), so I don't think replacing or adding a deprecation would do much here. The only way you can be unaware of problems resulting from this change is if you are deliberately suppressing warnings, in which case chances are very good that you are also suppressing deprecations. Nikita

« previous php.internals (#104227) next »