Re: [RFC] Interface Default Methods
| From: | Levi Morrison via internals | Date: | Thu, 15 Jun 2023 23:40:45 +0000 |
| Subject: | Re: [RFC] Interface Default Methods | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-120602@lists.php.net to get a copy of this message | ||
On Thu, Jun 15, 2023 at 3:37 PM Ilija Tovilo <tovilo.ilija@gmail.com> wrote:
> > I am moving my RFC for interface default methods to discussion:
> > https://wiki.php.net/rfc/interface-default-methods.
>
> The RFC doesn't mention default implementations for static methods.
> I'm not sure there's a use case but it might make sense to explicitly
> mention whether they are supported.
Interesting point. I sometimes forget that
static is allowed in
interfaces. When I rebase the branch, I'll check it out. I assume it
works at a technical level without issues. If that's true, then absent
further evidence, I would say to allow it.