Re: [VOTE] Fix list() behavior inconsistency
| From: | Stas Malyshev | Date: | Thu, 25 Sep 2014 21:50:31 +0000 |
| Subject: | Re: [VOTE] Fix list() behavior inconsistency | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-77636@lists.php.net to get a copy of this message | ||
Hi!
> It was on design. list() was intended to support plain arrays only.
I'm not sure I'm getting this point - why list($a, $b) = $foo is not
just translated as $a = $foo[0], $b = $foo[1], etc.? Is it hard to make
it work that way?
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/