Re: Type hinting/casting request for vote
| From: | Christian Schneider | Date: | Tue, 07 Jul 2009 14:08:08 +0000 |
| Subject: | Re: Type hinting/casting request for vote | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-44756@lists.php.net to get a copy of this message | ||
Greg Beaver wrote:
>> I would like to ask all developers to voice their opinions of whether it
>> makes sense to add this to 5.3 or to throw it away (either one is fine
>> btw). To keep the process simple & flamewar free, please restrict
>> yourself to +/- (1/0), next week monday I'll run a tally of the votes
>> and based on the result we can determine how to proceed further.
>
> +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.
-1 because of the new keywords bool, boolean, string, binary, unicode,
int, integer, long, real, double, float, resource, numeric, scalar,
object which cannot be used as function or class names any more (major
BC break).
I have more comments but they are minor so I restrict myself to this big
one...
Cheers,
- Chris