Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44843 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99041 invoked from network); 8 Jul 2009 18:00:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Jul 2009 18:00:15 -0000 Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 63.205.162.117 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 63.205.162.117 us-mr1.zend.com Linux 2.4/2.6 Received: from [63.205.162.117] ([63.205.162.117:34865] helo=us-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 73/6A-51553-CAED45A4 for ; Wed, 08 Jul 2009 14:00:13 -0400 Received: from us-gw1.zend.com (us-ex1.zend.net [192.168.16.5]) by us-mr1.zend.com (Postfix) with ESMTP id 5E27FE12D3; Wed, 8 Jul 2009 10:48:53 -0700 (PDT) Received: from [192.168.16.83] ([192.168.16.83]) by us-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 8 Jul 2009 11:00:49 -0700 Message-ID: <4A54DEA8.8080101@zend.com> Date: Wed, 08 Jul 2009 11:00:08 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: Ilia Alshanetsky CC: Dmitry Stogov , PHP internals References: <2D0F5226-EBCA-4B45-BF01-8ED1C643976C@prohost.org> <4A547DCB.9090003@zend.com> <2F8379C4-6042-4E5A-A298-A5E8C5A97DAC@prohost.org> In-Reply-To: <2F8379C4-6042-4E5A-A298-A5E8C5A97DAC@prohost.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 08 Jul 2009 18:00:49.0978 (UTC) FILETIME=[06E999A0:01C9FFF6] Subject: Re: [PHP-DEV] Type hinting/casting request for vote From: stas@zend.com (Stanislav Malyshev) Hi! > Only because there is a class hint (currently supported) function foo > (StdClass $foo) {} and there was a request to support a generic object > hint. So one became IS_CLASS and one is IS_OBJECT. I'd say IS_OBJECT can fit both - we could treat empty class name as "any object". -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com