Re: About declare(strict_types = 1)

From: Date: Mon, 16 Mar 2015 06:03:37 +0000
Subject: Re: About declare(strict_types = 1)
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-84987@lists.php.net to get a copy of this message
On Mon, Mar 16, 2015 at 12:55 AM, Xinchen Hui <laruence@php.net> 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

« previous php.internals (#84987) next »