Re: [VOTE] [RFC] Alphanumeric Decrement

From: Date: Tue, 21 Jan 2014 19:12:13 +0000
Subject: Re: [VOTE] [RFC] Alphanumeric Decrement
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-71378@lists.php.net to get a copy of this message
Hi Andrea, On Tue, Jan 21, 2014 at 9:10 AM, Andrea Faulds <ajf@ajf.me> wrote: > I've decided I might as well open a vote on this RFC, lest it be otherwise > abandoned. > > Voting starts today (2014-01-21), ends 2014-01-28. > > https://wiki.php.net/rfc/alpanumeric_decrement > Added this RFC to keep track inconsistency. https://wiki.php.net/rfc/comparison_inconsistency Python/Ruby does not even have ++/--. Mixing string and number raises type error for these languages. Perl returns -1 for string-- always. Although behavior became more consistent than now, but I'm not sure if this change is good or not. Keeping current behavior might be better. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net

« previous php.internals (#71378) next »