Re: [RFC] Deprecate partially supported callables
| From: | Côme Chilliet | Date: | Thu, 02 Sep 2021 15:06:08 +0000 |
| Subject: | Re: [RFC] Deprecate partially supported callables | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-115917@lists.php.net to get a copy of this message | ||
Le Thu, 2 Sep 2021 16:32:32 +0200,
Nikita Popov <nikita.ppv@gmail.com> a écrit :
> Hi internals,
>
> Currently, there are some callables that are accepted by the "callable"
> type, but which cannot be used with $callable() syntax. This RFC proposes
> to deprecate support for such "callables":
>
>
> https://wiki.php.net/rfc/deprecate_partially_supported_callables
It took me some time to understand that this was not a proposal to remove
support for all array/string representation of callables.
This should be made clearer if possible, maybe even list the callable kinds
which will not be deprecated.
Côme