Re: Deprecated partially supported callables: should is_callable() throwa deprecation notice ?
| From: | Claude Pache | Date: | Tue, 19 Apr 2022 22:22:22 +0000 |
| Subject: | Re: Deprecated partially supported callables: should is_callable() throwa deprecation notice ? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-117547@lists.php.net to get a copy of this message | ||
> Le 19 avr. 2022 à 20:20, Andreas Hennings <andreas@dqxtech.net> a écrit :
> A deprecation warning on is_callable() would imply that in a future
> version of PHP that call will be illegal.
No, in the case of
is_callable(), the deprecation warning will imply that, in a future
version of PHP, the behaviour will change. There are precedents of deprecation warning for changing
behaviour: https://3v4l.org/Iqo4N
—Claude