Re: Re: Named arguments revisited

From: Date: Fri, 13 Jan 2006 12:36:48 +0000
Subject: Re: Re: Named arguments revisited
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14  Groups: php.internals 
Request: Send a blank email to internals+get-21513@lists.php.net to get a copy of this message
Hartmut Holzgraefe wrote:
Lukas Smith wrote:
Its sole purpose is to deal with situations where you have a considerable number of parameters.
well, i for one would love to write something like $pos = strpos(haystack=$str, needle="foobar"); instead of looking up parameter orders all the time :)
I would specifically not go there. This would create the inconsistant situation you describe. It would be fixing one past mistake with a new evil. As noted the cases are not as wide as most people make it sound, also its not really related to this discussion. regards, Lukas

« previous php.internals (#21513) next »