Hi Andrea,
On Wed, Jan 22, 2014 at 5:16 AM, Andrea Faulds <ajf@ajf.me> wrote:
> However I think type juggling is entirely misguided, and should we do it
> at all, int -> string and float -> string should be one-way conversions.
> Doing the reverse seems like a bad idea to me.
Type safety is good for developing apps with less bugs.
Modern scripting languages have stricter types. One way conversion would be
good for PHP 6 or 5.7 probably. We don't have to restrict it, but raising
E_STRICT without explicit cast would be enough. There may be INI for this
behavior.
I would vote yes if there is such RFC.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net