Re: About declare(strict_types = 1)

From: Date: Mon, 16 Mar 2015 06:22:31 +0000
Subject: Re: About declare(strict_types = 1)
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-84989@lists.php.net to get a copy of this message
Hey: On Mon, Mar 16, 2015 at 2:03 PM, Matthew Leverton <leverton@gmail.com> wrote: > 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." my fault, I must oversight of reading this... thanks > > If it were the other way around, then you'd be correct -- it would be > a disaster. > > -- > Matthew Leverton -- Xinchen Hui @Laruence http://www.laruence.com/

« previous php.internals (#84989) next »