Re: [RFC] Static return type
| From: | Larry Garfield | Date: | Thu, 09 Jan 2020 14:07:13 +0000 |
| Subject: | Re: [RFC] Static return type | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-108056@lists.php.net to get a copy of this message | ||
On Wed, Jan 8, 2020, at 5:42 AM, Nikita Popov wrote:
> Hi internals,
>
> I would like to propose the following RFC, which allows using "static" as a
> return type:
>
> https://wiki.php.net/rfc/static_return_type
>
> While I'm personally not a fan of late static binding, we do support it and
> people do use it quite heavily, so I think we should also support it in
> return types.
>
> Regards,
> Nikita
Is "squee!" an appropriate response on the list? For interface authors this is a huge
deal.
--Larry Garfield