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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to