Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:27797 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44964 invoked by uid 1010); 5 Feb 2007 10:28:32 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 44948 invoked from network); 5 Feb 2007 10:28:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Feb 2007 10:28:31 -0000 Authentication-Results: pb1.pair.com smtp.mail=mls@pooteeweet.org; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=mls@pooteeweet.org; sender-id=unknown Received-SPF: error (pb1.pair.com: domain pooteeweet.org from 212.112.227.169 cause and error) X-PHP-List-Original-Sender: mls@pooteeweet.org X-Host-Fingerprint: 212.112.227.169 ipx11223.ipxserver.de Linux 2.5 (sometimes 2.4) (4) Received: from [212.112.227.169] ([212.112.227.169:49569] helo=ipx11223.ipxserver.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7C/41-18726-FC607C54 for ; Mon, 05 Feb 2007 05:28:31 -0500 Received: from localhost (localhost [127.0.0.1]) by ipx11223.ipxserver.de (Postfix) with ESMTP id D7A03DF00C6; Mon, 5 Feb 2007 11:28:28 +0100 (CET) Received: from ipx11223.ipxserver.de ([127.0.0.1]) by localhost (flottensignalgeber [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27221-08; Mon, 5 Feb 2007 11:28:26 +0100 (CET) Received: from [127.0.0.1] (234.24.3.213.fix.bluewin.ch [213.3.24.234]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ipx11223.ipxserver.de (Postfix) with ESMTP id 82709DF0005; Mon, 5 Feb 2007 11:28:26 +0100 (CET) Message-ID: <45C706CF.8090908@pooteeweet.org> Date: Mon, 05 Feb 2007 11:28:31 +0100 User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Christian Schneider Cc: ceo@l-i-e.com, internals@lists.php.net References: <011701c7482d$a39f6910$6500a8c0@zend.2k> <45C5EC63.7030605@cschneid.com> <1902.67.184.122.32.1170651145.squirrel@www.l-i-e.com> <45C704F0.4040703@cschneid.com> In-Reply-To: <45C704F0.4040703@cschneid.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by somedaemon at backendmedia.com Subject: Re: [PHP-DEV] Re: Syntactic improvement to array From: mls@pooteeweet.org (Lukas Kahwe Smith) Christian Schneider wrote: > My personal summary of this thread is: We won't have syntactic sugar for > common things like arrays, named parameter emulation and the like ever > because it will be killed by the "we already have a way of doing this" > and the "you cannot look it up" argument. Shame, that would be the tiny > language development I'd personally benefit from. Named parameters is not just syntax sugar, as they would make it possible to get compiler errors and phpoc support automatically over having to implement some array based solution to trigger errors and some other formatting standard for phpdoc. Then again we had this discussion before as well, and unfortunately it was shot down (IIRC mainly because people to think that named parameters should then be implemented for all existing functions as well, which would be too much work .. then again unicode conversion might (have been) the perfect time to do this). regards, Lukas