Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:44683 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92998 invoked from network); 3 Jul 2009 13:59:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Jul 2009 13:59:08 -0000 Authentication-Results: pb1.pair.com smtp.mail=paul.biggar@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=paul.biggar@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 72.14.220.155 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: 72.14.220.155 fg-out-1718.google.com Received: from [72.14.220.155] ([72.14.220.155:19530] helo=fg-out-1718.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5D/C4-27980-9AE0E4A4 for ; Fri, 03 Jul 2009 09:59:08 -0400 Received: by fg-out-1718.google.com with SMTP id e12so720326fga.0 for ; Fri, 03 Jul 2009 06:59:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=rzqAos56A2A+fIFPZj96sTsYgosdlcSPp1ajpRFPCGE=; b=M7T9T7DSuXLWTwu/eJQufz8LJwpahdvlxMBi4Vh1ihYLoukDIiASaQjA4nebU//epi j9giJWLmTEoYnN//hR1h1773VtPlAQpi1RImg5VuA1F/KYn7ISoy51/lk1Q6rq6gQM3e ATWnCFjEPHj+6Rczd6ZE8LGX+W8HyzerJuuMk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=d7MmF/33bVg2wLvr13cM/mGsBfm+xoDbBH4ybUYs+cqZ7WlBaqOjCjtPCMjMelamG2 L11hY0tYSj0k1yPszpp81OYMHWWzQnSpDtZnFt6c5hCLn6q3ccRhYYeUhIzdU57ak6Cc 1HHn8hlCX206hoGT6c4+zwP+14BgHuUxzvn7E= MIME-Version: 1.0 Received: by 10.86.94.13 with SMTP id r13mr1039377fgb.19.1246629543059; Fri, 03 Jul 2009 06:59:03 -0700 (PDT) In-Reply-To: References: Date: Fri, 3 Jul 2009 14:58:43 +0100 Message-ID: To: Lukas Kahwe Smith Cc: ilia@ilia.ws, PHP Internals , Derick Rethans , Stanislav Malyshev , Hannes Magnusson Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: Flexible type hinting From: paul.biggar@gmail.com (Paul Biggar) Hi Lukas, On Fri, Jul 3, 2009 at 2:35 PM, Lukas Kahwe Smith wrote: > hmm not sure that the consensus of a "weak" check would be an automatic > cast. Actually that wouldnt be much of a check in that case. I think the > other side is more asking for what Ilia already begun with "numeric" in the > sense of a weak checker. After the check it could go ahead and cast too for > all I care, but it shouldnt be the equivalent of a cast. But maybe you are > not implying that and I am just getting confused by the syntax. I think people wanted an automatic cast for the weak check. The idea would be that if you hinted "(int)", you could be guaranteed that you got an int. The syntax was suggested (I believe, it wasn't my suggestion) to look like casting. Thanks, Paul -- Paul Biggar paul.biggar@gmail.com