Re: [RFC] [VOTE] Union types

From: Date: Tue, 14 Jun 2016 22:51:03 +0000
Subject: Re: [RFC] [VOTE] Union types
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-93984@lists.php.net to get a copy of this message
On Tue, Jun 14, 2016 at 2:43 PM, Zeev Suraski <zeev@zend.com> wrote: > > On 14 ביוני 2016, at 22:53, Levi Morrison <levim@php.net> wrote: > > I'm personally against Union types because it makes no sense for classes > > > I've been over this before but I'll repeat it here for completeness: > this is not true. > > > There are more than enough constructs in PHP to handle all these use cases, > and handle them nicely. We don't need specialized constructs for every use > case. To clarify here, you are saying we don't need unions because they are a special case, yes? But you previously stated you are in favor of special casing the language types such as numeric? These are at odds.

« previous php.internals (#93984) next »