Re: type hinting
| From: | Tomi Kaistila | Date: | Wed, 06 Feb 2008 12:04:28 +0000 |
| Subject: | Re: type hinting | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-35241@lists.php.net to get a copy of this message | ||
> I still we should add simple static typehints (ie. just the types that
> we use in the manual) - and they should behave in the same way as the
> other type hints that we laready have.
I also agree with this too.
Add the common types first and then if there is a good reason, add special
ones but that will all be just extra. For me, it is more important to have
the basic primitive types (i.e. integer, boolean, etc.) than having generic
ones like 'object' or 'scalar'.
Tomi Kaistila
PHP Developer