Re: Q on Primitives
| From: | Dave Ingram | Date: | Thu, 18 Dec 2008 22:09:05 +0000 |
| Subject: | Re: Q on Primitives | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42337@lists.php.net to get a copy of this message | ||
> I remember that multiple signatures was said to have a possible very
> difficult implementation. However, a similar behaviour can be achieved by
> some instanceof().
>
I thought it probably would be awkward, but we do already have some type
hinting that can also be accomplished with instanceof() -- this is just
an extension of that idea. Although it's not my idea as such!
Dave