Re: [VOTE] [RFC] Alphanumeric Decrement

From: Date: Wed, 22 Jan 2014 00:28:49 +0000
Subject: Re: [VOTE] [RFC] Alphanumeric Decrement
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-71393@lists.php.net to get a copy of this message
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


Thread (19 messages)

« previous php.internals (#71393) next »