Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44754 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41935 invoked from network); 7 Jul 2009 13:58:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Jul 2009 13:58:08 -0000 Authentication-Results: pb1.pair.com smtp.mail=greg@chiaraquartet.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=greg@chiaraquartet.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain chiaraquartet.net from 209.85.198.230 cause and error) X-PHP-List-Original-Sender: greg@chiaraquartet.net X-Host-Fingerprint: 209.85.198.230 rv-out-0506.google.com Received: from [209.85.198.230] ([209.85.198.230:34163] helo=rv-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id DA/C4-17523-E64535A4 for ; Tue, 07 Jul 2009 09:58:07 -0400 Received: by rv-out-0506.google.com with SMTP id l9so1541716rvb.23 for ; Tue, 07 Jul 2009 06:58:03 -0700 (PDT) Received: by 10.140.143.13 with SMTP id q13mr2355929rvd.140.1246975083856; Tue, 07 Jul 2009 06:58:03 -0700 (PDT) Received: from monster.local ([76.84.30.125]) by mx.google.com with ESMTPS id k37sm7767302rvb.18.2009.07.07.06.58.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 07 Jul 2009 06:58:03 -0700 (PDT) Message-ID: <4A535468.2000606@chiaraquartet.net> Date: Tue, 07 Jul 2009 08:58:00 -0500 User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070807) MIME-Version: 1.0 To: Ilia Alshanetsky 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 Content-Transfer-Encoding: 7bit Subject: Re: Type hinting/casting request for vote From: greg@chiaraquartet.net (Greg Beaver) 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