Re: [VOTE][RFC] Coercive Scalar Type Hints

From: Date: Wed, 11 Mar 2015 18:03:55 +0000
Subject: Re: [VOTE][RFC] Coercive Scalar Type Hints
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-84564@lists.php.net to get a copy of this message
On 11 March 2015 at 16:45, Zeev Suraski <zeev@zend.com> wrote: > I think that going through a transition period ... that ultimately results > in one, consistent language behavior This RFC is explicitly saying that there is stuff that will be need to be changed in the future. Why would anyone upgrade from PHP 5.6 to PHP 70 when there are going to be more changes to the type system? Everyone would wait until that future version of PHP to upgrade and so just have to do a single migration, instead of having to do two migrations? This is clearly worse than the strict STH RFC; with that people can write code that will work on 5.x, 7 and 7.x by just not using scalar type hints. cheers Dan

« previous php.internals (#84564) next »