Re: [RFC] [PRE-VOTE] Union types
| From: | Bob Weinand | Date: | Fri, 03 Jun 2016 02:23:03 +0000 |
| Subject: | Re: [RFC] [PRE-VOTE] Union types | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-93736@lists.php.net to get a copy of this message | ||
> Am 03.06.2016 um 03:41 schrieb Sara Golemon <pollita@php.net>:
>
>> On Thu, Jun 2, 2016 at 4:00 AM, Bob Weinand <bobwei9@hotmail.com> wrote:
>> I know, it has been quite some time … but it's still well in time for 7.1.
>>
>> Time to move on and put Union types to vote soon. [In the next 1-2 days]
>>
>> We have done some changes to the RFC to emphasize the appeal of union types as well as
>> clarified what exactly we will vote on.
>>
>> If you have more feedback, it's welcome:
>> https://wiki.php.net/rfc/union_types
> Would it be COMPLETELY antisocial at this point to ask for a secondary
> vote on this RFC for adding the "num" type which is an alias for (int
> | float) ?
>
> -Sara
Not anti-social, but I won't add it...
The main concern is that it is an extra BC break (num is not too rare for class/namespace names
I'd argue).
Additionally it warrants extra discussion. Num, Numeric? Which one?
Also proper elaboration why we should add it or not would have to be done...
I think this should be an own RFC thus.
Bob