Re: Re: Named arguments revisited

From: Date: Fri, 13 Jan 2006 21:40:38 +0000
Subject: Re: Re: Named arguments revisited
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-21523@lists.php.net to get a copy of this message
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

« previous php.internals (#21523) next »