Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85360 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 22940 invoked from network); 21 Mar 2015 11:52:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Mar 2015 11:52:47 -0000 Authentication-Results: pb1.pair.com smtp.mail=bowersbros@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=bowersbros@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: bowersbros@gmail.com X-Host-Fingerprint: 209.85.212.172 mail-wi0-f172.google.com Received: from [209.85.212.172] ([209.85.212.172:38402] helo=mail-wi0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 98/90-18917-E8B5D055 for ; Sat, 21 Mar 2015 06:52:47 -0500 Received: by wibgn9 with SMTP id gn9so12073701wib.1 for ; Sat, 21 Mar 2015 04:52:43 -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=gcY0DakF9DOGIWknlItF7I2jD88uZ+L+FgL1TIxk9b8=; b=rfV/J9kkIK4IrlYuiwaZ4YiOt5EoefY/32jU0WUkNhV2zYcc5riRsk6Yz2sTFvB0i3 yY7VGZELH7TfWOV90t5ecR/3hfMQrv4jCliOkFA7JVGU9+8hX3tutT4AWI6Ypm5Bod13 0muXhTk39OIL10LHzWJ6nfvqxIsSMBbRlCaKPyVm2PrkHjDLP18xSLguM2XmGhC8JPwz ZaZ7K728dMsvc9eciMFTuxx1yJxsywWGkJqMhqNXN9ELw/XN+Ihjn26SGMJXarJ8NnCG 2vb6nHdaCJuSP8Kezo6DCzA0yfQsOPJ33O9fA0URdmFVJYT6hlz9SxfFcGUfWsz43b8i 0+/Q== MIME-Version: 1.0 X-Received: by 10.194.6.228 with SMTP id e4mr166395702wja.63.1426938763535; Sat, 21 Mar 2015 04:52:43 -0700 (PDT) Received: by 10.28.62.84 with HTTP; Sat, 21 Mar 2015 04:52:43 -0700 (PDT) In-Reply-To: <550CAD08.4080400@gmail.com> References: <550B5A81.1090706@gmail.com> <550C8879.70002@gmail.com> <550C90EF.7080404@gmx.de> <550C9B39.5080801@gmail.com> <550CA73A.2010308@gmail.com> <550CAD08.4080400@gmail.com> Date: Sat, 21 Mar 2015 11:52:43 +0000 Message-ID: To: Stanislav Malyshev Cc: Christoph Becker , PHP Internals Content-Type: multipart/alternative; boundary=047d7b5d86ad1debb30511cb121e Subject: Re: [PHP-DEV] RFC - Array slice syntactic sugar From: bowersbros@gmail.com (Alex Bowers) --047d7b5d86ad1debb30511cb121e Content-Type: text/plain; charset=UTF-8 Would it make more sense then to have a RFC for array by positional index. No range or anything initially (that will be a separate RFC), but simply to get the value of an array by positional index? $array[*4] to get the item in position 4. --047d7b5d86ad1debb30511cb121e--