Re: RFC proposal: Invokable interface
| From: | Matthew Weier O'Phinney | Date: | Thu, 02 Apr 2026 14:23:03 +0000 |
| Subject: | Re: RFC proposal: Invokable interface | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-130531@lists.php.net to get a copy of this message | ||
On Sun, Mar 29, 2026 at 4:44 PM Osama Aldemeery <aldemeery@gmail.com> wrote:
> Hi all,
>
> I'd like to propose an Invokable interface, the Stringable equivalent for
> __invoke().
>
> The idea has come up a few times over the years (most recently in the PR
> #15492 discussion, where Gina suggested this exact approach) but never had
> a concrete implementation.
>
> I've put one together: ˆ2}u