Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96546 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79900 invoked from network); 21 Oct 2016 23:11:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Oct 2016 23:11:46 -0000 X-Host-Fingerprint: 2.121.170.241 unknown Received: from [2.121.170.241] ([2.121.170.241:7092] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 59/D6-28528-0B0AA085 for ; Fri, 21 Oct 2016 19:11:44 -0400 Message-ID: <59.D6.28528.0B0AA085@pb1.pair.com> To: internals@lists.php.net X-Mozilla-News-Host: news://news.php.net:119 Date: Sat, 22 Oct 2016 00:11:41 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 2.121.170.241 Subject: [RFC] Convert numeric keys in object/array casts From: ajf@ajf.me (Andrea Faulds) Hi everyone, To try and fix a longstanding issue, and to actually bring some attention to the fix, I've created a new RFC, which can be found here: https://wiki.php.net/rfc/convert_numeric_keys_in_object_array_casts It targets PHP 7.2, which is maybe a little conservative. It could target PHP 7.1 theoretically, but it's probably a bit late for that. I'm also not sure if this really ought to be an RFC, but I've received little feedback so far, so it can't hurt. Anyway, please tell me your thoughts! -- Andrea Faulds https://ajf.me/