Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27778 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32045 invoked by uid 1010); 4 Feb 2007 23:25:51 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 32030 invoked from network); 4 Feb 2007 23:25:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Feb 2007 23:25:51 -0000 Authentication-Results: pb1.pair.com smtp.mail=pollita@php.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=pollita@php.net; sender-id=unknown; domainkeys=good Received-SPF: error (pb1.pair.com: domain php.net from 140.211.166.39 cause and error) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pollita@php.net X-Host-Fingerprint: 140.211.166.39 osu1.php.net Linux 2.4/2.6 Received: from [140.211.166.39] ([140.211.166.39:36638] helo=osu1.php.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C6/23-18726-E7B66C54 for ; Sun, 04 Feb 2007 18:25:51 -0500 X-DomainKeys: Ecelerity dk_sign implementing draft-delany-domainkeys-base-01 DomainKey-Signature: q=dns; a=rsa-sha1; c=nofws; s=mx; d=php.net; h=From:Subject:To:Date; b=uNwZMtIxCxsXnAvr0klsUTezT69rPXrq7DpXQPJHY/Y6u8Jx5t/pBiLmM4tNZsz7 iN5QAUjca2MpO4tPq8ybvQ6BOcwK0m2kLlAh2HYEayHBTTA/7k6D2T5uBzJ63wDj Authentication-Results: osu1.php.net smtp.user=pollita; auth=pass (LOGIN) X-Host-Fingerprint: 69.181.128.213 unknown Received: from [69.181.128.213] ([69.181.128.213:51224] helo=[192.168.1.100]) by osu1.php.net (ecelerity 2.1.1.11-rc1 r(13363/13364M)) with ESMTPSA (cipher=AES256-SHA) id 13/B2-12711-BFB66C54 for ; Sun, 04 Feb 2007 15:27:55 -0800 Message-ID: <45C66B97.1070304@php.net> Date: Sun, 04 Feb 2007 15:26:15 -0800 User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: internals@lists.php.net References: <011701c7482d$a39f6910$6500a8c0@zend.2k> In-Reply-To: <011701c7482d$a39f6910$6500a8c0@zend.2k> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Syntactic improvement to array From: pollita@php.net (Sara Golemon) > So what I'm thinking of is: > array(1, 2, 3) == [1, 2, 3] > array(1, 2, array("foo", "bar")) == [1, 2, ["foo", "bar"]] > array("key" => 1, "key2" => 2) == ["key" => 1, "key2" => 2] > An enthusiastic thumbs-sideways. I'll probably use this at some point, but not for anything which needs to be version agnostic. -Sara