Re: [VOTE] Fix list() behavior inconsistency
| From: | Stas Malyshev | Date: | Fri, 26 Sep 2014 08:23:25 +0000 |
| Subject: | Re: [VOTE] Fix list() behavior inconsistency | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-77655@lists.php.net to get a copy of this message | ||
Hi!
> and weird to me, and can be quickly emulated with list($a,$b) =
> str_split([“ab”][0]); if someone was actually using it.
BC breaks don't work this way. When somebody's code would break on PHP
7, their first move would not be "oh, great, let's refactor it, it was
too arcane anyway". It would be "OK, let's postpone the upgrade to
$current_year + 5".
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/