Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21504 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86968 invoked by uid 1010); 13 Jan 2006 09:08:14 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 86953 invoked from network); 13 Jan 2006 09:08:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Jan 2006 09:08:14 -0000 X-Host-Fingerprint: 195.225.34.5 fw01.axit.nl Received: from ([195.225.34.5:13770] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 6C/F4-25674-EFD67C34 for ; Fri, 13 Jan 2006 04:08:14 -0500 Message-ID: <6C.F4.25674.EFD67C34@pb1.pair.com> To: internals@lists.php.net References: <43C67431.9090003@prohost.org><3A366ACB-20D4-42C7-BBAE-46F643E3A91F@intuitivefuture.com><878581203.20060112153625@ionzoft.com> <7.0.0.16.2.20060112154219.029d06c8@zend.com><43C75FEE.7040908@php.net> Date: Fri, 13 Jan 2006 10:07:43 +0100 Lines: 28 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-RFC2646: Format=Flowed; Original X-Posted-By: 195.225.34.5 Subject: Re: [PHP-DEV] Re: Named arguments revisited From: r.korving@xit.nl ("Ron Korving") Let me summarize it for you then. Advantages of named parameters over associative arrays: - cleaner syntax - support for type hints - difference between required and optional parameters - generating documentation (whether with something like phpDoc or an IDE) - ... Can anyone summarize the disadvantages now please? - Ron "Derick Rethans" schreef in bericht news:Pine.LNX.4.62.0601130914440.19056@localhost... > On Fri, 13 Jan 2006, Lukas Smith wrote: > >> Now obviously there would have to be someone to implement it, but I see >> no >> "design" reason to not allow this feature in. > > But I see no reason to add it either... > > regards, > Derick