Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84987 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 85148 invoked from network); 16 Mar 2015 06:03:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Mar 2015 06:03:42 -0000 Authentication-Results: pb1.pair.com header.from=leverton@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=leverton@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.174 as permitted sender) X-PHP-List-Original-Sender: leverton@gmail.com X-Host-Fingerprint: 209.85.192.174 mail-pd0-f174.google.com Received: from [209.85.192.174] ([209.85.192.174:33812] helo=mail-pd0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E3/94-06614-B3276055 for ; Mon, 16 Mar 2015 01:03:41 -0500 Received: by pdbni2 with SMTP id ni2so48715734pdb.1 for ; Sun, 15 Mar 2015 23:03:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=OoZPqYEi/lpcOryF82lK4keSdbzCgA2gOPILTn5lRng=; b=eTimzOrw37uTIt65IIYh/Fct1+UN2SY/JMlF32PqlBjSPRtG+1EMQx7KIprN2EJocN fspGrqTDA6tya9OgPgLMMlfcRPRlmW/j5JEdRz5DHwaI1BrzoF3ORYK1QmebBdp57JXP LIqHY83jx09vLzGv0zv/TYUwZoEMRui+d8xPa9ewhWy1l+L58F3Hq6YGDH6nJmApzxcg tRwkeWQOvRvHgps+5f9hnrv/fX+D1cjxw0jK/tPmk4sdc3jEZy2u2zPUSAz4aIcV/NMF cAVWqwzaLBYJ9trq+WBaatfhiHPdgK1DUGEqeo3JEwRTK6pUBLK0VWT+wMlwHsAabnRU uvEA== MIME-Version: 1.0 X-Received: by 10.70.89.174 with SMTP id bp14mr50158027pdb.14.1426485817273; Sun, 15 Mar 2015 23:03:37 -0700 (PDT) Received: by 10.70.65.130 with HTTP; Sun, 15 Mar 2015 23:03:37 -0700 (PDT) In-Reply-To: References: <55066F07.80308@birkholz.biz> Date: Mon, 16 Mar 2015 01:03:37 -0500 Message-ID: To: Xinchen Hui Cc: Dennis Birkholz , "internals@lists.php.net >> 'PHP Internals'" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] About declare(strict_types = 1) From: leverton@gmail.com (Matthew Leverton) On Mon, Mar 16, 2015 at 12:55 AM, Xinchen Hui wrote: > That is why I don't see it before (thousand times, too long to read... > but not in RFC) > It's in the RFC: "Whether or not the function being called was declared in a file that uses strict or weak type checking is irrelevant. The type checking mode depends on the file where the function is called." If it were the other way around, then you'd be correct -- it would be a disaster. -- Matthew Leverton