Re: [RFC] Patch for Union and Intersection Types
| From: | Niklas Keller | Date: | Tue, 26 Apr 2016 17:00:43 +0000 |
| Subject: | Re: [RFC] Patch for Union and Intersection Types | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-92801@lists.php.net to get a copy of this message | ||
2016-04-26 16:58 GMT+02:00 Bob Weinand <bobwei9@hotmail.com>:
> Yeah, I'd like to not allow ?Foo in any case if union types pass.
>
What's the reason for that? To me, null is neither a type nor should it be.