Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21563 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45966 invoked by uid 1010); 18 Jan 2006 02:08:51 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 45951 invoked from network); 18 Jan 2006 02:08:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jan 2006 02:08:51 -0000 X-Host-Fingerprint: 64.233.184.195 wproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.184.195:30765] helo=wproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id B0/B0-32596-233ADC34 for ; Tue, 17 Jan 2006 21:08:50 -0500 Received: by wproxy.gmail.com with SMTP id i30so1476060wra for ; Tue, 17 Jan 2006 18:08:46 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=US5PvVvgEu8Lz1/ph5Ifn/QwBdT5AVXfLZ6E8fN8+5Q5LRX/uTTx4SkdifFwUbCIvCwl3YL/R80vYiHvjcUgiIYDDoT0e/aJ1CYYMjg3JRbUnwfSQ0arWXTIp2yZOIScxGcOkXfUFU58UbpL3AllJ9UGv5/v2G/fCi19bOj0IcA= Received: by 10.54.98.15 with SMTP id v15mr8593980wrb; Tue, 17 Jan 2006 18:08:46 -0800 (PST) Received: by 10.54.106.16 with HTTP; Tue, 17 Jan 2006 18:08:46 -0800 (PST) Message-ID: <57792e850601171808x540205b9ubc81e2f1475a3ae9@mail.gmail.com> Date: Tue, 17 Jan 2006 18:08:46 -0800 To: Zeev Suraski Cc: internals@lists.php.net In-Reply-To: <7.0.1.0.2.20060115112107.06375638@zend.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <11370812947200000@9866357972520000.9866341568840000> <43C688AE.80403@php.net> <43C69B2A.8000802@php.net> <21.B4.29075.F75A6C34@pb1.pair.com> <54.A8.13436.BE6F9C34@pb1.pair.com> <7.0.1.0.2.20060115112107.06375638@zend.com> Subject: Re: [PHP-DEV] Re: Named arguments revisited From: iamstever@gmail.com (steve) On 1/15/06, Zeev Suraski wrote: > In those rare occurrences where named parameters have true benefits, > please live with the drawbacks of using array(). I do, though code completion, type hinting, etc. would be nice. It would nice if it was consistenly added so that built-in functions had that behavior, since no one can use the array hack for those. But lots of things would be nice, so I don't really care. Seems like too much work for the benefit. And there are downsides not even mentioned in this thread (parameter names are now seen (which is obvious, until you really think about it), they gain longevity, language issues, etc.). Not to mention, we might be tempted to go back and rewrite stuff and that would not be an effecient use of our time. But "rare occurrences"? That was pretty funny! Sadly...