Both decisions make sense. I'm indifferent which one to make.
Just not to keep the undocumented inconsistency :)

Thanks. Dmitry,

On Wed, Sep 17, 2014 at 3:00 PM, Derick Rethans <der...@php.net> wrote:

> On Thu, 11 Sep 2014, Dmitry Stogov wrote:
>
> > Please take a look and make your opinion.
> >
> > https://wiki.php.net/rfc/fix_list_behavior_inconsistency
> >
> > This inconsistency might be interpreted like a bug, but fixing it might
> > break existing PHP code (at least my attempt to fix it in documented way
> > broke few phpt tests).
>
> But at least your option "Enable string handling in all cases" makes
> additional things work, instead of making things *no longer* work.
>
> I realize that:
>         list($a,$b) = "aa";var_dump($a,$b);
> Will now start returning something else than NULL, but I would almost
> consider that a bug. I would definitely elect to vote for "Enable string
> handling in all cases" as it IMO actually fixes something.
>
> cheers,
> Derick
>

Reply via email to