Re: [RFC] Introduce Type Affinity

From: Date: Mon, 16 Mar 2015 22:50:23 +0000
Subject: Re: [RFC] Introduce Type Affinity
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-85104@lists.php.net to get a copy of this message
On Mar 17, 2015 9:42 AM, "Yasuo Ohgaki" <yohgaki@ohgaki.net> wrote: > > Hi Pierre, > > On Tue, Mar 17, 2015 at 7:23 AM, Pierre Joye <pierre.php@gmail.com> wrote: >> >> I very much appreciate your consistent effort to improve php, at all levels. >> >> However I won't comment on this RFC or any further RFCs trying to target 7. >> >> My reasoning is that we should now focus on getting it out, in time. I did not agree with the time plan about 7 development but it is what we decided. Let get back to work now. > > I agree that we should concentrate for PHP7.0. > The reason why I raised this topic is currently proposed "strict_types" does not work > well with this. > > If inputs are converted/validated as certain types with or without this RFC, "strict_types" > should raise error for mismatched types. However, current proposal does not do this > depending on how "strict_types" is used... I do not see your point with strict type and what your RFC proposes is what ext/filter does. I would really not to start again this kind of discussion while trying to get 7 out in time as it is already quite a challenge.

« previous php.internals (#85104) next »