Re: [RFC] Scalar Type Hints v0.2

From: Date: Mon, 02 Feb 2015 16:35:33 +0000
Subject: Re: [RFC] Scalar Type Hints v0.2
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-81600@lists.php.net to get a copy of this message
On Mon, 2 Feb 2015, Dmitry Stogov wrote: > As I already told, in my opinion, version 0.1 was the perfect solution that > fit into PHP semantic very well. > > declare(strict_types=1); - is really weird solution. > It changes type hinting behavior per file scope, so, just to try strict > type hinting in a big project, people will have to change every single PHP > file. THis is why I believe it makes more sense to have this switch on the callee side, instead of on the calling side. cheers, Derick

« previous php.internals (#81600) next »