Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44816 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45187 invoked from network); 8 Jul 2009 07:27:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jul 2009 07:27:32 -0000 X-Host-Fingerprint: 64.70.54.16 unknown Received: from [64.70.54.16] ([64.70.54.16:7294] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AE/26-10517-36A445A4 for ; Wed, 08 Jul 2009 03:27:31 -0400 To: internals@lists.php.net,Ilia Alshanetsky Message-ID: <4A544A5C.1040804@msn.com> Date: Wed, 08 Jul 2009 15:27:24 +0800 Reply-To: ben.yan@msn.com User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 CC: PHP internals References: <2D0F5226-EBCA-4B45-BF01-8ED1C643976C@prohost.org> In-Reply-To: <2D0F5226-EBCA-4B45-BF01-8ED1C643976C@prohost.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 64.70.54.16 Subject: Re: Type hinting/casting request for vote From: ben.yan@msn.com (Ben Yan) 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. > > Ilia -1. we should not add an syntax into a stable release.