Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44688 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54627 invoked from network); 3 Jul 2009 22:40:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Jul 2009 22:40:40 -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:34292] helo=us-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CF/10-52395-6E88E4A4 for ; Fri, 03 Jul 2009 18:40:40 -0400 Received: from us-gw1.zend.com (us-ex1.zend.net [192.168.16.5]) by us-mr1.zend.com (Postfix) with ESMTP id 96944E12BB; Fri, 3 Jul 2009 15:29:29 -0700 (PDT) Received: from [192.168.27.29] ([192.168.27.29]) by us-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 3 Jul 2009 15:41:12 -0700 Message-ID: <4A4E88E1.1000800@zend.com> Date: Fri, 03 Jul 2009 15:40:33 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: Ilia Alshanetsky CC: Paul Biggar , PHP internals References: <4A4BA5C8.1020204@zend.com> <9B379CBB-9575-4B85-8B0B-49C1C0DFC1AC@prohost.org> In-Reply-To: <9B379CBB-9575-4B85-8B0B-49C1C0DFC1AC@prohost.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 03 Jul 2009 22:41:13.0635 (UTC) FILETIME=[5E872F30:01C9FC2F] Subject: Re: [PHP-DEV] RFC: Type hinting revisited for PHP 5.3 From: stas@zend.com (Stanislav Malyshev) Hi! >> I think you could make this work for 5.3, if it used the old >> "zend_bool array_type_hint". A zend_bool is 8 bits, so that's plenty. >> It would be a little bit messy, but I'm fairly confident it could be >> made work. Unless the particular module would interpret everything that has non-zero array_type_hint as being typehinted to array, as it is now in 5.3.0. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com