Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21523 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 62698 invoked by uid 1010); 13 Jan 2006 21:41:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 62683 invoked from network); 13 Jan 2006 21:41:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Jan 2006 21:41:27 -0000 X-Host-Fingerprint: 212.227.48.61 mayflowerholding.com Linux 2.5 (sometimes 2.4) (4) Received: from ([212.227.48.61:54646] helo=s15175637.rootmaster.info) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 33/00-61655-68E18C34 for ; Fri, 13 Jan 2006 16:41:26 -0500 Received: (qmail 2764 invoked by uid 2520); 13 Jan 2006 22:41:23 +0100 Received: from 62.245.162.85 by s15175637 (envelope-from , uid 2020) with qmail-scanner-1.25st (uvscan: v4.4.00/v4669. spamassassin: 3.0.3. perlscan: 1.25st. Clear:RC:0(62.245.162.85):SA:0(-0.5/7.0):. Processed in 1.213118 secs); 13 Jan 2006 21:41:23 -0000 X-Spam-Status: No, hits=-0.5 required=7.0 Received: from ppp-62-245-162-85.mnet-online.de (HELO ?192.168.1.102?) (62.245.162.85) by mayflowerholding.com with (DHE-RSA-AES256-SHA encrypted) SMTP; 13 Jan 2006 22:41:22 +0100 To: internals@lists.php.net Date: Fri, 13 Jan 2006 22:40:38 +0100 User-Agent: KMail/1.9 References: <43C7E437.70209@info-link.net> <43C8106F.9040604@php.net> In-Reply-To: <43C8106F.9040604@php.net> Cc: Hartmut Holzgraefe MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-ID: <200601132240.38407.johannes@php.net> Subject: Re: [PHP-DEV] Re: Named arguments revisited From: johannes@php.net (Johannes Schlueter) Hi, On Friday 13 January 2006 21:41, Hartmut Holzgraefe wrote: > you missed that the parameter name information is just not available > for internal functions, the api works by parameter positions only > right now, so at some level you *have to* add this information for > all the 4,000+ extension funcitons out there ... You can use the ARG_INFO stuff to name parameters (like done in SPL or the Exception base class) so the name "just" needs to be added where wanted. A benefit from named parameters compared to array based stuff would be that an IDE might give better completion support. This doesn't mean I have real need for named parameters and as Andi said we shouldn't add every feature one might add. johannes