Re: Re: Type hinting/casting request for vote
| From: | Christian Schneider | Date: | Tue, 07 Jul 2009 14:30:07 +0000 |
| Subject: | Re: Re: Type hinting/casting request for vote | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-44765@lists.php.net to get a copy of this message | ||
Stan Vassilev wrote:
>> +1 if the object type hint is change to use T_CLASS so we don't break
>> every external package using "Object" as a base class.
>> À
>
> Or this can wait until 6.0, when (as I hear) we'll have case-sensitive
> class names, so Object/object, Int/int won't cause collisions.
This won't help much because of functions:
http://www.google.com/codesearch?hl=en&start=10&sa=N&q=function\s%2B(bool|boolean|string|binary|unicode|int|integer|long|real|double|float|resource|numeric|scalar|object)\s*\(+lang:php
Cheers,
- Chris