Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:112935 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 63221 invoked from network); 20 Jan 2021 09:16:05 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 20 Jan 2021 09:16:05 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id F174018053F for ; Wed, 20 Jan 2021 00:56:00 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 20 Jan 2021 00:56:00 -0800 (PST) Received: by mail-lf1-f41.google.com with SMTP id s26so33047990lfc.8 for ; Wed, 20 Jan 2021 00:56:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=m9x74iPCvitkDlx/7VVVLWaYtLXP77FTDXqmB4tnFyM=; b=A5nWgHRFGNgHzw/eOQqGhxAQmJwavUpvLdcAu7YTjbykEsJAhuXYCr/f7+wNSoYczE zskPb77/mvtdAZc7f1tw9+n7igQHblzz0R2BW0kqAvHtlVL5aChlUh4Q1Ov6EeZ7z8Oh XzJ/jBf76vIxUYzzIMoNZkCCF4mCiZKOLQMfKgNWYe70c87EhmCTIMek/6CAmXWvN0wx 2hKGS2oYCyzC9fqB2A7Xf585o1GagxcEaxrYSccTk199LfBDSUzQeOys/1KYWqbQpWbR kYobU4GKnksQj1QXjfoAL5Ok8aJNNi6xlrhnSJjnuM1fndrndYB6nqoo+bYjzVl4Iwxd Laow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=m9x74iPCvitkDlx/7VVVLWaYtLXP77FTDXqmB4tnFyM=; b=FtHJjz97kJHfRjfFw8HuYbOu0j/I8WXcHgK4afby9RvYoSEUKufiaQXjwSF/p9NqgK SQg446GZNJMDgOZqT82JN1dlFxfGpJpg4Wqb7PaqqyRqOyyd4UVyfl+K3dmtqDK4ruQg e41JK0BbWyFb2UQMs1dxb8qY9MuMhgSMIdk1nsdlpqLybMMZ3L46A8F5Xaq/uVMvDymk 2EIqbpvEe+3lgzQFjU5CrLC2kNUGBYSDix89EreXLZdK4L6nTObHQVfH6kTeY5WlEB7h ++RSJt63c7GpLIPBKb2wipLYTPubBejSDvvGqpqZxi3Gv38O8Ot2RVVub8cQcg4CLwI9 fASg== X-Gm-Message-State: AOAM533S1fM91TeyB2wxp+PsSnuBjdDnMM9p5Uas8WhmDcSTkPE6g5hZ vbSz1JgwLqqf7UNogiEatSto16t7fybcUj6DtrDpLzVXcag= X-Google-Smtp-Source: ABdhPJwZjAPK1MPSpouZdBIPR8tlHB5FjenKRCn+Fi+nAjWgafz2Pi+A8v3LK5u+b1UuhJhD2Zto/3cEMmExrGtzWFE= X-Received: by 2002:ac2:4431:: with SMTP id w17mr3496361lfl.223.1611132955713; Wed, 20 Jan 2021 00:55:55 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 20 Jan 2021 09:55:39 +0100 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="00000000000082e36105b9511f82" Subject: Re: [RFC] Array unpacking with string keys From: nikita.ppv@gmail.com (Nikita Popov) --00000000000082e36105b9511f82 Content-Type: text/plain; charset="UTF-8" On Thu, Jan 7, 2021 at 12:30 PM Nikita Popov wrote: > Hi internals, > > I'd like to propose that string keys be allowed when unpacking into > arrays: https://wiki.php.net/rfc/array_unpacking_string_keys > > Especially as unpacking in calls supports string keys now, I believe it is > time to drop this limitation for arrays as well. > > Regards, > Nikita > This RFC seems to have been well-received, so I plan to start voting soon. Nikita --00000000000082e36105b9511f82--