Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42322 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94643 invoked from network); 18 Dec 2008 01:38:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Dec 2008 01:38:26 -0000 Authentication-Results: pb1.pair.com header.from=jay.27182818@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=jay.27182818@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.21 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: jay.27182818@gmail.com X-Host-Fingerprint: 209.85.218.21 mail-bw0-f21.google.com Received: from [209.85.218.21] ([209.85.218.21:40475] helo=mail-bw0-f21.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 76/71-21696-099A9494 for ; Wed, 17 Dec 2008 20:38:25 -0500 Received: by bwz14 with SMTP id 14so598437bwz.23 for ; Wed, 17 Dec 2008 17:38:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=upFUHbIXEYodJVDS1p1qul1gzXR/ptnZZ12tJESbz7M=; b=kNbJBIhjE457/eok4FboiIeAASYirrKBp7DnbTkHwj9zv85pGTF85PShq+bVKIwJiP EzEiuwsCiPspcbmW5CHV9gam7B/Jep0pX7tKYmKT9en0vCUhPkA7M/zkW+RBOqUD09Mz cgJZYIYQASZyDdik3/N2wdJnwGhDjHXnlk8Xk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=qHG9Go8K4CXuk9hlZEgroPKVfkHYkZltdSYVlOkuy3k66tIOc2GeFI8PRC95rGZ7v6 di8696dHEKb3k3b/mNgee7AQNhQxKfQvztKR0CVoOZqLEGdFI0LFwJPAE6LQoF4+JHaO hH8m4btI++uefYYGK2VbFVSl3Pje5viBX7krU= Received: by 10.103.241.15 with SMTP id t15mr537129mur.85.1229564301508; Wed, 17 Dec 2008 17:38:21 -0800 (PST) Received: from ?192.168.1.100? (148.101.235.77.dyn.idknet.com [77.235.101.148]) by mx.google.com with ESMTPS id s11sm4266166mue.42.2008.12.17.17.38.19 (version=SSLv3 cipher=RC4-MD5); Wed, 17 Dec 2008 17:38:20 -0800 (PST) To: Lars Strojny Cc: Jeff Griffiths , internals@lists.php.net In-Reply-To: <1229563610.4955.72.camel@localhost> References: <1229560181.14598.13.camel@jay> <49499B34.4000300@activestate.com> <1229563116.6152.16.camel@jay> <1229563610.4955.72.camel@localhost> Content-Type: text/plain Date: Thu, 18 Dec 2008 03:38:17 +0200 Message-ID: <1229564297.8963.5.camel@jay> Mime-Version: 1.0 X-Mailer: Evolution 2.24.2 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] simpler syntax for arrays From: jay.27182818@gmail.com (jay) On Thu, 2008-12-18 at 02:26 +0100, Lars Strojny wrote: > Hi Jay, > > Am Donnerstag, den 18.12.2008, 03:18 +0200 schrieb jay: > [...] > > okey. another syntax: > > > > myfunc($('key1'=>'val1', 'key2'=>'val2', ...)); > > > > this can be implemented just as a shortcut for the array keyword. i > > think it won't be very hard to extend syntax for the dollar sign. > > > > my idea is to shorten the syntax. no matter how it will be achieved. > > Obviously you preferred not to read the RFC and you did not read the > related mailinglist threads. Anyway, to shorten things a bit: it has > been discussed this year, we decided against it, things are settled. > > Thanks for your attention, > Lars okey. it's you right to be against such simplification. but anyway it'd be nice to have more simple and clear syntax. i hope you'll get back to this idea in future. thanks for your replies. regards, jay