Re: RE: Optional scalar type hinting
| From: | Derick Rethans | Date: | Fri, 04 Jan 2008 09:00:54 +0000 |
| Subject: | Re: RE: Optional scalar type hinting | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-34396@lists.php.net to get a copy of this message | ||
On Thu, 3 Jan 2008, Stanislav Malyshev wrote:
> > I don't get it. We already have type hinting, just not for scalars. The
>
> Type hinting for scalars is different because it disables one of the features
> of PHP language - conversion of scalar types into each other.
It doesn't disable this. It's still there if you want it. If you want
slightly more control, you can have it too.
regards,
Derick
--
Derick Rethans
http://derickrethans.nl | http://ezcomponents.org | http://xdebug.org