Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44668 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 12766 invoked from network); 2 Jul 2009 18:12:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Jul 2009 18:12:34 -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 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:34252] helo=us-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 96/F7-09230-198FC4A4 for ; Thu, 02 Jul 2009 14:12:34 -0400 Received: from us-gw1.zend.com (us-ex1.zend.net [192.168.16.5]) by us-mr1.zend.com (Postfix) with ESMTP id 52183E12BB for ; Thu, 2 Jul 2009 11:01:27 -0700 (PDT) Received: from [192.168.16.83] ([192.168.16.83]) by us-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 2 Jul 2009 11:13:03 -0700 Message-ID: <4A4CF889.9090405@zend.com> Date: Thu, 02 Jul 2009 11:12:25 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: "Ford, Mike" CC: PHP Internals References: <85073B28-671D-4A8F-B2D6-5704E3E180BB@ilia.ws> <89868409-EBAC-47DE-8D6D-0DCD88DE9DE6@ilia.ws> <67163A6A-9C8F-4F59-82A4-0B46A2EBEAE9@pooteeweet.org> <93ED589E60BA254F97435FE6C97F2C6702B925DD@leedsmet-exch1.leedsmet.ac.uk> In-Reply-To: <93ED589E60BA254F97435FE6C97F2C6702B925DD@leedsmet-exch1.leedsmet.ac.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 02 Jul 2009 18:13:03.0173 (UTC) FILETIME=[BD73C750:01C9FB40] Subject: Re: [PHP-DEV] Re: Flexible type hinting From: stas@zend.com (Stanislav Malyshev) Hi! > function func(int $i) > > for strict type checking, and > > function func((int)$i) Without saying anything on the merits of having both syntaxes, visually I think this looks much nicer, even with the disadvantage of parentheses overload. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com