Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85280 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72593 invoked from network); 20 Mar 2015 12:32:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Mar 2015 12:32:49 -0000 Authentication-Results: pb1.pair.com header.from=bowersbros@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=bowersbros@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.50 as permitted sender) X-PHP-List-Original-Sender: bowersbros@gmail.com X-Host-Fingerprint: 74.125.82.50 mail-wg0-f50.google.com Received: from [74.125.82.50] ([74.125.82.50:34403] helo=mail-wg0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FC/4F-25408-0731C055 for ; Fri, 20 Mar 2015 07:32:48 -0500 Received: by wggv3 with SMTP id v3so88214699wgg.1 for ; Fri, 20 Mar 2015 05:32:45 -0700 (PDT) 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=Ra547GJ0HWhmQR8jICWxbk/mhLxYkMgqO2+jemLg2g0=; b=TiPoP4Lnh4yGs+ItF2AjW4he8TGzCF1wCIZGJQu5szwh302d/npMQT8f4be4cNJ7C+ 90BpVkhkV7wc5l4Kw/TwG7RpV9DrWdsdJZO6Xzy+XfhBmOnUlUobhnIvxUJozxyXt4yH lEnVW0smQDsybdGZkJXnuJh/C79HcNTTME/Fqyh1HL1Ku7HThJ3AQcvD7hqdulAE66ch quxKzbjdsAEVrp2ooZAK9+jYA0Wdy004lKPja3poi4DKI05urCBdByEaJ10jS7T67yfG SVRNM54w8qaKN0cQdWPo/LqKu6OqIUwOQc+1Gdm7lP96DdywRyGkEUy+lNxGl0XVDJKf F+KQ== MIME-Version: 1.0 X-Received: by 10.181.8.103 with SMTP id dj7mr4896181wid.75.1426854765487; Fri, 20 Mar 2015 05:32:45 -0700 (PDT) Received: by 10.28.62.84 with HTTP; Fri, 20 Mar 2015 05:32:45 -0700 (PDT) In-Reply-To: <550C1176.9050307@gmail.com> References: <550B5A81.1090706@gmail.com> <550B7189.4040608@gmail.com> <7486C296-7535-4633-AFE2-02E7BBC67BC5@gmail.com> <550C1176.9050307@gmail.com> Date: Fri, 20 Mar 2015 12:32:45 +0000 Message-ID: To: Rowan Collins Cc: internals@lists.php.net Content-Type: multipart/alternative; boundary=001a1134676a71737c0511b78332 Subject: Re: [PHP-DEV] RFC - Array slice syntactic sugar From: bowersbros@gmail.com (Alex Bowers) --001a1134676a71737c0511b78332 Content-Type: text/plain; charset=UTF-8 We also need to consider then the possibility of setting data by position. What should $array[@1:3] = [1,2,3] do? Should it overwrite the values there, and append any that don't exist, or should it be a parse error? --001a1134676a71737c0511b78332--