Re: Parameter type widening RFC
| From: | Dan Ackroyd | Date: | Thu, 25 May 2017 10:32:12 +0000 |
| Subject: | Re: Parameter type widening RFC | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-99168@lists.php.net to get a copy of this message | ||
On 25 May 2017 at 10:21, Rasmus Schultz <rasmus@mindplay.dk> wrote:
> So this breaks the expected behavior of interfaces.
No it doesn't. It allows interfaces to use contravariance within PHP's
type system, which is different from before, but it doesn't break
anything.
Niklas Keller wrote:
> The interface will just work correctly, what's the actual problem you're
seeing?
Rasmus, not answering people's questions and instead saying emotional
stuff suggesting other people have made historically bad decisions
isn't a productive way to conduct a conversation.
cheers
Dan