Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:85323 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 11320 invoked from network); 20 Mar 2015 20:10:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Mar 2015 20:10:28 -0000 Authentication-Results: pb1.pair.com header.from=sean@seancoates.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=sean@seancoates.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain seancoates.com from 208.72.237.35 cause and error) X-PHP-List-Original-Sender: sean@seancoates.com X-Host-Fingerprint: 208.72.237.35 pb-smtp1.int.icgroup.com Received: from [208.72.237.35] ([208.72.237.35:52391] helo=sasl.smtp.pobox.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F8/77-64120-2BE7C055 for ; Fri, 20 Mar 2015 15:10:27 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 3315F40E8B; Fri, 20 Mar 2015 16:10:24 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=content-type :mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=sasl; bh= sypzi/B4hAgABuEe/xjpPZ11KBg=; b=RkSc/twvUo+H2R9a4YPriqcEihsUG1Vy I5dCiQs3SQb4exlygAJvBoDa8xTKh7232mnlEJ+meHsLykEc62BPAmP5xTGvxPOe 7ag7YdrvS3xZfZ/3KmAup/pMG8tCCBmnN0CsVRlcTFaqOxkC2jMCcJv72xjDZiHf ggszcF/egFc= Received: from pb-smtp1.int.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 2AF5340E8A; Fri, 20 Mar 2015 16:10:24 -0400 (EDT) Received: from [192.168.145.105] (unknown [70.81.19.115]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id E48A940E87; Fri, 20 Mar 2015 16:10:21 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) In-Reply-To: Date: Fri, 20 Mar 2015 16:10:20 -0400 Cc: John Bafford , Rowan Collins , Leigh , PHP Internals Content-Transfer-Encoding: quoted-printable Message-ID: <080AC5EA-978C-44F8-81EE-789A2CBEE15A@seancoates.com> 3NVjd0fwkqCc89qauqZtc=KaPN==n-Q@mail.gmail.com> To: Alex Bowers X-Mailer: Apple Mail (2.2070.6) X-Pobox-Relay-ID: 2354F07C-CF3D-11E4-88F8-6DD39F42C9D4-96568589!pb-smtp1.pobox.com Subject: Re: [PHP-DEV] RFC - Array slice syntactic sugar From: sean@seancoates.com (Sean Coates) > I posted four suggestions earlier, >=20 > They were: >=20 > @ > & > * > ^ >=20 > My favourites are the asterisk or caret. That=E2=80=99s no different than `@` being invalid because it=E2=80=99s = already in use. $ php -a Interactive shell php > define('a', 1); php > define('b', 2); php > echo @a . "\n"; 1 php > echo (a&b) . "\n"; 0 php > echo (a*b) . "\n"; 2 php > echo (a^b) . "\n"; 3 php > However: `=E2=98=83` has a long history of being available to PHP. S