Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77655 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54076 invoked from network); 26 Sep 2014 08:23:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Sep 2014 08:23:29 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 108.166.43.83 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 108.166.43.83 smtp83.ord1c.emailsrvr.com Linux 2.6 Received: from [108.166.43.83] ([108.166.43.83:59732] helo=smtp83.ord1c.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F4/35-27411-08225245 for ; Fri, 26 Sep 2014 04:23:28 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp3.relay.ord1c.emailsrvr.com (SMTP Server) with ESMTP id 13FBC1801D7; Fri, 26 Sep 2014 04:23:26 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp3.relay.ord1c.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id 9D6261800EF; Fri, 26 Sep 2014 04:23:25 -0400 (EDT) X-Sender-Id: smalyshev@sugarcrm.com Received: from Stass-MacBook-Pro.local (108-66-6-48.lightspeed.sntcca.sbcglobal.net [108.66.6.48]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA) by 0.0.0.0:465 (trex/5.2.13); Fri, 26 Sep 2014 08:23:26 GMT Message-ID: <5425227D.7000801@sugarcrm.com> Date: Fri, 26 Sep 2014 01:23:25 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: Gwynne Raskind , Dmitry Stogov CC: PHP Internals References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [PHP-DEV] [VOTE] Fix list() behavior inconsistency From: smalyshev@sugarcrm.com (Stas Malyshev) 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/