Re: [RFC] [VOTE] Object typehint RFC
| From: | Andrey Andreev | Date: | Wed, 17 May 2017 14:52:04 +0000 |
| Subject: | Re: [RFC] [VOTE] Object typehint RFC | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-99076@lists.php.net to get a copy of this message | ||
Hi,
On Wed, May 17, 2017 at 5:47 PM, Levi Morrison <levim@php.net> wrote:
>
> 1. Object variance should be implemented when we have generalized
> variance for all types. By special casing it now we open ourselves to the
> possibility that its implementation or semantics will differ from the
> generalized solution.
>
That's a very good point.
It may even decide how variance works in all of PHP, "because consistency".
Cheers,
Andrey.