Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44765 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62367 invoked from network); 7 Jul 2009 14:30:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Jul 2009 14:30:13 -0000 Authentication-Results: pb1.pair.com smtp.mail=cschneid@cschneid.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=cschneid@cschneid.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain cschneid.com from 195.226.6.51 cause and error) X-PHP-List-Original-Sender: cschneid@cschneid.com X-Host-Fingerprint: 195.226.6.51 darkcity.gna.ch Linux 2.6 Received: from [195.226.6.51] ([195.226.6.51:36455] helo=mail.gna.ch) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7A/49-17523-4FB535A4 for ; Tue, 07 Jul 2009 10:30:12 -0400 Received: from localhost (localhost [127.0.0.1]) by darkcity.gna.ch (Postfix) with ESMTP id 0A4A4137178; Tue, 7 Jul 2009 16:30:09 +0200 (CEST) X-Virus-Scanned: amavisd-new at gna.ch Received: from mail.gna.ch ([127.0.0.1]) by localhost (gna.ch [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id krtw6+TYz10d; Tue, 7 Jul 2009 16:30:08 +0200 (CEST) Received: from [192.168.1.72] (84-75-131-148.dclient.hispeed.ch [84.75.131.148]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by darkcity.gna.ch (Postfix) with ESMTPSA id A1849137174; Tue, 7 Jul 2009 16:30:08 +0200 (CEST) Message-ID: <4A535BEF.8060302@cschneid.com> Date: Tue, 07 Jul 2009 16:30:07 +0200 User-Agent: Thunderbird 2.0.0.19 (X11/20081227) MIME-Version: 1.0 To: Stan Vassilev CC: PHP internals References: <2D0F5226-EBCA-4B45-BF01-8ED1C643976C@prohost.org> <4A535468.2000606@chiaraquartet.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: Type hinting/casting request for vote From: cschneid@cschneid.com (Christian Schneider) 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. >> 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= > > 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