Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37109 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 68780 invoked from network); 17 Apr 2008 18:24:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Apr 2008 18:24:45 -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 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 Windows 2000 SP4, XP SP1 Received: from [212.25.124.162] ([212.25.124.162:47945] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 59/72-05127-66597084 for ; Thu, 17 Apr 2008 14:22:38 -0400 Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 17 Apr 2008 21:23:08 +0300 Received: from [192.168.16.217] ([192.168.16.217]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 17 Apr 2008 11:23:05 -0700 Message-ID: <4807955B.5010602@zend.com> Date: Thu, 17 Apr 2008 11:22:19 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: Paul Biggar CC: Felipe Pena , internals@lists.php.net References: <1208404255.5665.34.camel@pena> <480782BE.8050608@zend.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 17 Apr 2008 18:23:05.0587 (UTC) FILETIME=[14591C30:01C8A0B8] Subject: Re: [PHP-DEV] [RFC] Type hints (parameter and return value) From: stas@zend.com (Stanislav Malyshev) Hi! >> If you talk about consistency, you should remember that right now no >> function and no feature in PHP relies on strict checking of primitive types. > > That is not the case (or I am very much mistaken). In particular, > is_int, which I mentioned in my email, is predicated on the IS_LONG > type only. Read that "no function except for a tiny handful of very special cases like is_* and serializes and probably one or two other functions that I forgot", ok? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com