Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34728 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31360 invoked by uid 1010); 11 Jan 2008 14:39:37 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 31345 invoked from network); 11 Jan 2008 14:39:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jan 2008 14:39:37 -0000 Authentication-Results: pb1.pair.com header.from=foolistbar@googlemail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=foolistbar@googlemail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain googlemail.com designates 66.249.92.172 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: foolistbar@googlemail.com X-Host-Fingerprint: 66.249.92.172 ug-out-1314.google.com Received: from [66.249.92.172] ([66.249.92.172:38636] helo=ug-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F0/09-09267-6AF77874 for ; Fri, 11 Jan 2008 09:39:35 -0500 Received: by ug-out-1314.google.com with SMTP id u40so463220ugc.29 for ; Fri, 11 Jan 2008 06:39:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; bh=DYEGuoQ68Qyy7a8qH07TPK6n/OPjNRTRsk0Yh/kzUpI=; b=R1hqnaW/qrqEPg4g+MLZOuH02rI9GsV11n8Y/nWhhERpGDW9AbDKDu/R20C37tXsuaibCxsomkOCRjXoIpDqEDgnqTirOVZdOBoN23QzagQUnGA7LfAKwG1Lff4KU0vr75xILVzPl3tq4tWKrSkcn9rdmsREXmrXPeKkjYA1pIQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=cc:message-id:from:to:in-reply-to:content-type:content-transfer-encoding:mime-version:subject:date:references:x-mailer; b=pfZ5mqvmllmrKX0CruH5w0ew7yNK6LtIP89TRZOi/D8NbtTRxshk10VQYGfMvDJ0A8r50ipgw1zC+vxU0HIzNf+6nF1GPGzf4sdRTjIWrPNRCSkzA66GNaExrU+nwee5lX+xD1nRnU9Z28Vtyjw8YxSi9TXI+yVFL2TieCg6jW8= Received: by 10.66.239.2 with SMTP id m2mr4844209ugh.26.1200062373828; Fri, 11 Jan 2008 06:39:33 -0800 (PST) Received: from ?192.168.0.116? ( [86.137.236.187]) by mx.google.com with ESMTPS id n3sm2296481gvf.16.2008.01.11.06.39.12 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 11 Jan 2008 06:39:22 -0800 (PST) Cc: internals@lists.php.net Message-ID: To: Mark Dennehy In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v915) Date: Fri, 11 Jan 2008 14:39:10 +0000 References: <1A1C5E07-4057-4A36-8406-B0FB8BA14185@googlemail.com> X-Mailer: Apple Mail (2.915) Subject: Re: [PHP-DEV] [RFC] Square brackets shortcut From: foolistbar@googlemail.com (Geoffrey Sneddon) On 11 Jan 2008, at 14:28, Mark Dennehy wrote: >>> b) Commit square bracket array shortcut patch >>> keys and values are separated by double arrows. >> Breaks backwards compatibility to save typing five characters. See >> above. -1. >> > > It doesn't break backwards compatibility; the new syntax is an > alias, not a > replacement. The older array() syntax will still be in place, if I've > understood the earlier posts correctly. Maybe I did not express myself well enough: this introduces a new syntax for something that isn't broken that doesn't work on existing PHP versions. -- Geoffrey Sneddon