Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78715 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22690 invoked from network); 5 Nov 2014 11:22:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Nov 2014 11:22:16 -0000 Authentication-Results: pb1.pair.com smtp.mail=leight@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=leight@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.172 as permitted sender) X-PHP-List-Original-Sender: leight@gmail.com X-Host-Fingerprint: 209.85.212.172 mail-wi0-f172.google.com Received: from [209.85.212.172] ([209.85.212.172:34227] helo=mail-wi0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7F/E1-10214-7680A545 for ; Wed, 05 Nov 2014 06:22:16 -0500 Received: by mail-wi0-f172.google.com with SMTP id bs8so12064542wib.11 for ; Wed, 05 Nov 2014 03:22:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=7hiblzfcjvkZ6eKzSmZC67+9COPjOGOkMtA3YAvpapg=; b=CmKWv7xsakTxC9AP6bhbQJJyqMyhPOHTW6IHB3fYZeWpFtCKiq70FYy8L+6HD80+zV UVbvozi7RWwDBhsSEC6iHlSZm+AaeHVtUQ/xAhaxzPBZKtFVU8L+E+GQnNLwbs3Qey3+ DPZGnoQQcZl7Hodf8pftmXUI96NJtCYvaBsWqO/a7GPp3E51Ufcg4aE0lqlm6tjroZvB Eg/ArkRS1RV8vSJmHfgNodUiDV6uFhHjUzolmtW9d0w156ixnunHTiOKpGGBWrKyh6w6 A6Q1zY+2tM28ts7WaeE7LMiIKKgFFSBj0t/Q37jat7c9KyhHOcFuly3xiVWb+PV5ip+7 LTiQ== MIME-Version: 1.0 X-Received: by 10.194.222.98 with SMTP id ql2mr64885332wjc.10.1415186530419; Wed, 05 Nov 2014 03:22:10 -0800 (PST) Received: by 10.216.50.205 with HTTP; Wed, 5 Nov 2014 03:22:10 -0800 (PST) In-Reply-To: References: Date: Wed, 5 Nov 2014 11:22:10 +0000 Message-ID: To: Rowan Collins Cc: "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] Additional splat operator usage From: leight@gmail.com (Leigh) On 4 November 2014 18:14, Rowan Collins wrote: > > If anything, I think I would expect the keys of splatted arrays to be discarded, since it seems most natural to use this in a list context, but I can imagine always having to check in the manual. I agree on this point. Duplicate keys should not overwrite each other. [...$foo, ...$bar] should literally unpack the values as if they were comma delimited and discard all key information.