Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37102 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43416 invoked from network); 17 Apr 2008 17:56:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Apr 2008 17:56:23 -0000 Authentication-Results: pb1.pair.com header.from=paul.biggar@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=paul.biggar@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.146.176 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: paul.biggar@gmail.com X-Host-Fingerprint: 209.85.146.176 wa-out-1112.google.com Received: from [209.85.146.176] ([209.85.146.176:37681] helo=wa-out-1112.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3A/9D-05127-64F87084 for ; Thu, 17 Apr 2008 13:56:22 -0400 Received: by wa-out-1112.google.com with SMTP id l24so229271waf.17 for ; Thu, 17 Apr 2008 10:56:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=Tmzxs4p1HOnX6GGszj8BlIOd70nrWD2wjhBx5zwGxpY=; b=xZ+NEVWuo6bGrLgzN6VPuU8W6i9FzCw8C2/c711K8QxroC3Lye6Tp/xB7SLm5Nl3NFJqDus10uaQ1sFiaOtFbEs/2SoiysUB2e8HdFO122BLyqocNu+euSOPmr6PAWB+MFebklKBtl9OiK81EyliMupWrqHiWWWQE495Kf8PYIs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=seTi2lVD570D74FOMoP9XWcU2rzjdjTkTP4uQxNY1hLAvV+SoSbVyjwXJ5JDZeTXh7l7FH5kFxXOmtK9fufSgWrvG9Z7HvKArpS/8SLalkzTA7kkW4w1A4SQfSVb5OLrQg4HzR32upYflxDxhX/q34bsqgLFDjQ3GHkjpoIPbVI= Received: by 10.114.184.9 with SMTP id h9mr1847250waf.151.1208454980029; Thu, 17 Apr 2008 10:56:20 -0700 (PDT) Received: by 10.114.255.17 with HTTP; Thu, 17 Apr 2008 10:56:19 -0700 (PDT) Message-ID: Date: Thu, 17 Apr 2008 19:56:19 +0200 To: "Stanislav Malyshev" Cc: "Felipe Pena" , internals@lists.php.net In-Reply-To: <480782BE.8050608@zend.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1208404255.5665.34.camel@pena> <480782BE.8050608@zend.com> Subject: Re: [PHP-DEV] [RFC] Type hints (parameter and return value) From: paul.biggar@gmail.com ("Paul Biggar") On Thu, Apr 17, 2008 at 7:02 PM, Stanislav Malyshev wrote: > > Your current implementation seems to be inconsistent with both itself > > and the rest of PHP. I hope this can be rectified before it is > > included. PHP is inconsisent enough without adding more. > > > > 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. Paul -- Paul Biggar paul.biggar@gmail.com