Re: Add $this return type
| From: | Alexandru Pătrănescu | Date: | Tue, 25 Jun 2024 10:11:11 +0000 |
| Subject: | Re: Add $this return type | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-123813@lists.php.net to get a copy of this message | ||
On Tue, Jun 25, 2024 at 3:28 AM radar3301 <radar3301@gmail.com> wrote:
> I'm looking for initial feedback on the following proposal.
>
> I propose to add "$this" as a return type, ie:
>
>
Worth reading:
- the previous RFC that didn't got to a voting stage:
https://wiki.php.net/rfc/this_return_type
- the discussion thread: https://externals.io/message/115986