Re: simpler syntax for arrays
| From: | Lars Strojny | Date: | Thu, 18 Dec 2008 01:26:50 +0000 |
| Subject: | Re: simpler syntax for arrays | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-42321@lists.php.net to get a copy of this message | ||
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
--
Jabber: lars@strojny.net
Weblog: http://usrportage.de
Attachment: [application/pgp-signature] Dies ist ein digital signierter Nachrichtenteil signature.asc
Attachment: [application/pgp-signature] Dies ist ein digital signierter Nachrichtenteil signature.asc