Re: RE: Optional scalar type hinting
| From: | Tomi Kaistila | Date: | Fri, 04 Jan 2008 01:19:56 +0000 |
| Subject: | Re: RE: Optional scalar type hinting | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-34387@lists.php.net to get a copy of this message | ||
> For me "type hinting" has nothing to do with "type conversion". Hinting
> a 'string' expects a string, nothing else, not even an object.
Agreed. It seems like a way to compromise between those who support this
feature and those who do not, but in a way that completely defeats the
purpose of type hinting.
Tomi Kaistila
PHP Developer