Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21539 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62342 invoked by uid 1010); 15 Jan 2006 12:00:57 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 62327 invoked from network); 15 Jan 2006 12:00:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Jan 2006 12:00:56 -0000 X-Host-Fingerprint: 80.74.107.235 mail.zend.com Linux 2.5 (sometimes 2.4) (4) Received: from ([80.74.107.235:4924] helo=mail.zend.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id A1/2D-13436-8793AC34 for ; Sun, 15 Jan 2006 07:00:56 -0500 Received: (qmail 2084 invoked from network); 15 Jan 2006 12:00:52 -0000 Received: from localhost (HELO zeev-notebook.zend.com) (127.0.0.1) by localhost with SMTP; 15 Jan 2006 12:00:52 -0000 Message-ID: <7.0.1.0.2.20060115135052.05c1b848@zend.com> X-Mailer: QUALCOMM Windows Eudora Version 7.0.1.0 Date: Sun, 15 Jan 2006 14:00:49 +0200 To: Rasmus Lerdorf Cc: Aidan Lister ,internals@lists.php.net In-Reply-To: <43CA25CD.2040408@lerdorf.com> 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> <43C9FF01.1060008@lerdorf.com> <7.0.1.0.2.20060115111835.0531d810@zend.com> <43CA25CD.2040408@lerdorf.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: [PHP-DEV] Re: Named arguments revisited From: zeev@zend.com (Zeev Suraski) At 12:37 15/01/2006, Rasmus Lerdorf wrote: >Zeev Suraski wrote: >>At 09:51 15/01/2006, Rasmus Lerdorf wrote: >>>Aidan Lister wrote: >>>>Are the PHP group prepared to accept and implement a named >>>>parameters patch? >>> >>>As far as I am concerned it would depend on the patch. If you can >>>come up with a way to do it with requiring rewriting all 4000+ >>>functions out there, go for it. >>As Andi said, that's hardly the big issue (we could have provided >>it as a userland feature, not applicable to internal functions, or >>applicable to just a small subset of them). >>The big issue is whether or not we want that feature in the >>language, and the answer appears to be no. > >Well, having half of a feature like that by only making it work in >some places is what I think many folks are against. I don't think >the answer is no if we had a clean and consistent way to implement >it. I would certainly be all for it in that case. Ok, so we're split. I actually don't think it's a must to have all functions adhere to this new method of calling (I don't think it's necessary, but even if it was - it's probably just a few days of work). It's definitely not the implementation which is the problem, as with other cases, we have enough bright people on board here that could figure it out if we wanted to go ahead with it. It's adding another core level feature that's useful in very rare cases, and that adds another layer of complexity, that is the problem in my (and many others') opinion. And it becomes even much worse if we support it throughout the entire language, as it means it'll become popular not only in these rare cases where it's really useful, but throughout everyday usage (as is the case with about anything, some people prefer one way of doing things, and others prefer another). Thankfully, regardless of the reasoning, the bottom line is no. Zeev