Re: [VOTE] Fix list() behavior inconsistency

From: Date: Thu, 25 Sep 2014 08:00:28 +0000
Subject: Re: [VOTE] Fix list() behavior inconsistency
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-77613@lists.php.net to get a copy of this message
On 25 September 2014 08:42, Dmitry Stogov <dmitry@zend.com> wrote: > Hi, > > The vote is opened at > https://wiki.php.net/rfc/fix_list_behavior_inconsistency > > Thanks. Dmitry. Since in the "should people be allowed to vote" thread, I said I think people should explain their votes, here is my explanation :) I am voting disable. +1 for consistency, but I think we already have a pretty rich suite of functions for working with strings that do not work with arrays, and vice versa. I think enabling list() to work on strings sets a precedent that more/all array handling mechanisms should be made to work with strings, and I'm not sure that's something we want. We've defined list as not working with strings in the manual, lets stick to our own definition.

« previous php.internals (#77613) next »