Re: [PHP-DEV] [RFC] Fix list() behavior inconsistency

2014-09-17 Thread Derick Rethans
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

Re: [PHP-DEV] [RFC] Fix list() behavior inconsistency

2014-09-17 Thread Dmitry Stogov
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.

Re: [PHP-DEV] [RFC] Fix list() behavior inconsistency

2014-09-14 Thread Stas Malyshev
Hi! 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). I think it makes

Re: [PHP-DEV] [RFC] Fix list() behavior inconsistency

2014-09-14 Thread Lester Caine
On 14/09/14 07:48, Stas Malyshev 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

Re: [PHP-DEV] [RFC] Fix list() behavior inconsistency

2014-09-14 Thread Rowan Collins
On 14/09/2014 08:54, Lester Caine wrote: One has to assume first that what is returned is a simple byte string array while currently is IS possible that it will contain unicode characters? Well, currently, every single string function in PHP treats a string as a simple byte array, apart from

[PHP-DEV] [RFC] Fix list() behavior inconsistency

2014-09-11 Thread Dmitry Stogov
Hi, 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). Thanks. Dmitry.