Re: Type hinting/casting request for vote
| From: | Greg Beaver | Date: | Tue, 07 Jul 2009 13:58:00 +0000 |
| Subject: | Re: Type hinting/casting request for vote | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-44754@lists.php.net to get a copy of this message | ||
Ilia Alshanetsky wrote:
> Last week or so there was a fairly detailed discussion on the internals
> list regarding type hinting based on my original patch. Since then the
> patch has been revised to address the major concerns that were
> identified (breakage of binary compatibility) as well extended with
> additional functionality (object hint, type casting, reflection support,
> etc...).
>
> The final patch is available here:
> http://ilia.ws/patch/type_hint_53_v2.txt
> The test suit is available here:
> http://ia.gd/patch/type_hint_tests.tar.bz2
>
> 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.
http://www.google.com/codesearch?as_q=class\s%2Bobject&btnG=Search+Code&hl=en&as_lang=php&as_license_restrict=i&as_license=&as_package=&as_filename=&as_case=
Greg