Re: Missing reflection info about strict types?

From: Date: Mon, 05 Sep 2016 15:25:36 +0000
Subject: Re: Missing reflection info about strict types?
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-95649@lists.php.net to get a copy of this message
> > being strict type it should not matter, at all > It doesn't, except when trying to concatenate several source files into a single bigger one. Then we're stuck because declare(strict_type=0/1) is specifically *not* allowed in the middle of a file, and *not* allowed to use the block syntax (declare(strict_type=0/1) {...}). In fact, the feat I was asking for could be seen as a workaround for this limitation. Maybe it would be better to allow some syntax to be able to create one big file that contains class declatation foo1 & foo2, where foo1 is strict and foo2 isn't? Nicolas

« previous php.internals (#95649) next »