Re: [PHP-DEV] Deprecated partially supported callables: should is_callable() throw a deprecation notice ?

2022-05-02 Thread Guilliam Xavier
On Wed, Mar 16, 2022 at 9:57 AM Christian Schneider wrote: > > Am 16.03.2022 um 06:52 schrieb Juliette Reinders Folmer > : > > I've just been looking in detail at the Partially Supported Callables > > deprecation RFC: > > https://wiki.php.net/rfc/deprecate_partially_supported_callables > > > >

Re: [PHP-DEV] Deprecated partially supported callables: should is_callable() throw a deprecation notice ?

2022-05-02 Thread Alexandru Pătrănescu
On Mon, May 2, 2022 at 2:15 PM Guilliam Xavier wrote: > On Wed, Mar 16, 2022 at 9:57 AM Christian Schneider > wrote: > > > > Am 16.03.2022 um 06:52 schrieb Juliette Reinders Folmer < > php-internals_nos...@adviesenzo.nl>: > > > I've just been looking in detail at the Partially Supported Callable

Re: [PHP-DEV] Deprecated partially supported callables: should is_callable() throw a deprecation notice ?

2022-05-02 Thread Andreas Leathley
On 02.05.22 13:56, Alexandru Pătrănescu wrote: The point is that this is not an usual deprecation, something that will change to an error in the future. In the end, it's just a change in behavior with no error before or after. It does not fit the "deprecation". As I dealt with several PHP upgrad

Re: [PHP-DEV] Deprecated partially supported callables: should is_callable() throw a deprecation notice ?

2022-05-02 Thread Guilliam Xavier
On Mon, May 2, 2022 at 1:57 PM Alexandru Pătrănescu wrote: > On Mon, May 2, 2022 at 2:15 PM Guilliam Xavier > wrote: >> I too would rather have "extra" deprecation notices in 8.2 than >> *sudden errors / silent behavior changes* in 9.0 (for the callable >> type declaration / the is_callable() fu

Re: [PHP-DEV] Deprecated partially supported callables: should is_callable() throw a deprecation notice ?

2022-05-02 Thread Rowan Tommins
On 02/05/2022 12:56, Alexandru Pătrănescu wrote: The point is that this is not an usual deprecation, something that will change to an error in the future. In the end, it's just a change in behavior with no error before or after. It does not fit the "deprecation". That was my instinct too, but