Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78679 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20025 invoked from network); 4 Nov 2014 20:13:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Nov 2014 20:13:29 -0000 Authentication-Results: pb1.pair.com smtp.mail=dmitry@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dmitry@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.218.41 as permitted sender) X-PHP-List-Original-Sender: dmitry@zend.com X-Host-Fingerprint: 209.85.218.41 mail-oi0-f41.google.com Received: from [209.85.218.41] ([209.85.218.41:46275] helo=mail-oi0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B8/13-02095-76339545 for ; Tue, 04 Nov 2014 15:13:28 -0500 Received: by mail-oi0-f41.google.com with SMTP id e131so11108835oig.0 for ; Tue, 04 Nov 2014 12:13:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=9T9N69px2K+0MoQ0RBWw2jRAKDHbAsQw6KuhDE1P4pk=; b=Z/dvMf+18ZCd4zuR2WxkHHGkZKkfngwdWmOJt/m7jq0009GPIr5s6pxg72/2jARIfB vq/nv//3bU4gt0Ga03/m90H1bx54TCY7mwV3kGD56iWFu77WcbzzFZiQsQ1a1MVJgkaG 66xZxoVNL8ukiptpX2Uv4jO2myMW09i5WfloFHzptWShCG81upW/Ou0qK7rcmg/tIVFE xHYZWHLVZ++fnWBuuEPlD9Hu3XZPrkI7gfYdUCKRRL3yv5aIeZJUoGuXDqGCFXvRi1W+ ap/SGFLHYm3GVJFhFlBP5MgsPK7qNMQojgub1+/4MU4zOvTF087/FfbzEPX1crjHyZze WThQ== X-Gm-Message-State: ALoCoQl3TDB/OvZ2IuYHPjTK8ubozTKubJOnIX8wlSob5A2oQIQLyx1boD9UIwrWUNQLwQ8m+wDtNyJq8kEofjIJhImdESFtlwjlskHm38cHxISME5wznbrH0k073OtitOgf7jGy8Sj0Gyr/czvHI7bgmV5lLJfyiw== MIME-Version: 1.0 X-Received: by 10.60.123.18 with SMTP id lw18mr45019023oeb.7.1415132005311; Tue, 04 Nov 2014 12:13:25 -0800 (PST) Received: by 10.60.70.41 with HTTP; Tue, 4 Nov 2014 12:13:25 -0800 (PST) In-Reply-To: References: Date: Wed, 5 Nov 2014 00:13:25 +0400 Message-ID: To: Chris Wright Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=047d7b5d42647cbed905070e18d0 Subject: Re: [PHP-DEV] [RFC] Additional splat operator usage From: dmitry@zend.com (Dmitry Stogov) --047d7b5d42647cbed905070e18d0 Content-Type: text/plain; charset=UTF-8 I like the idea, especially list($a, $b, ...$c) = ... Looks like Prolog's [A, B | C] = ..., unfortunately it won't provide the same semantic and performance. Implementation needs to be reviewed, but I think it must not affect existing opcodes. Thanks. Dmitry. On Tue, Nov 4, 2014 at 1:45 AM, Chris Wright wrote: > Good evening list, > > I'd like to open discussion a relatively simple and clear-cut RFC, either > people will like it or they won't, there isn't a lot more to say here than > what's in the RFC so please have a read. > > https://wiki.php.net/rfc/additional-splat-usage > > Thanks, Chris > --047d7b5d42647cbed905070e18d0--