On 26 September 2014 08:01, Stas Malyshev <smalys...@sugarcrm.com> wrote:
>
> It's as odd as [] working with strings but -> not. Those are different
> things, so they work differently.

Sorry, this was kind of my point, I probably just phrased it badly.
The array_* "question" was meant to be rhetorical.

My points are:

* Strings are _not_ treated as arrays of bytes everywhere.
* If we intend to give strings more array-like support after this RFC
(like foreach($string as $char), making array_* work with strings),
then I support the list() change.
* Otherwise not

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

Reply via email to