Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27821 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25286 invoked by uid 1010); 5 Feb 2007 18:48:30 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 25271 invoked from network); 5 Feb 2007 18:48:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2007 18:48:30 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from [212.25.124.162] ([212.25.124.162:47063] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 08/B8-61367-DFB77C54 for ; Mon, 05 Feb 2007 13:48:30 -0500 Received: (qmail 10276 invoked from network); 5 Feb 2007 18:46:47 -0000 Received: from office.zend.office (HELO ?127.0.0.1?) (192.168.16.109) by internal.zend.office with SMTP; 5 Feb 2007 18:46:47 -0000 Message-ID: <45C77BEF.5080004@zend.com> Date: Mon, 05 Feb 2007 10:48:15 -0800 Organization: Zend Technologies User-Agent: Thunderbird 2.0b2 (Windows/20070116) MIME-Version: 1.0 To: Sebastian Bergmann CC: internals@lists.php.net References: <45C76E09.1080300@zend.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Object[] type hint From: stas@zend.com (Stanislav Malyshev) > The check would only be performed in the case where one uses the new > type hint. And if someone needs this, he would manually do the same in > userspace anyways (see the example in my original mail). I would say (IMHO of course) this belongs to userspace. No reason to build such a complex and rarely used functionality into the language syntax. -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/