Re: named parameters?
| From: | Andrey Hristov | Date: | Mon, 18 Apr 2005 18:58:18 +0000 |
| Subject: | Re: named parameters? | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-16019@lists.php.net to get a copy of this message | ||
Derick Rethans wrote:
On Mon, 18 Apr 2005, Hendy Irawan wrote:by me, back in the days when PHP 5 was still on the design table. It was said that it is so late, and should wait for PHP 6 :) . PHP 5 took 4 years after PHP 4. So PHP 6 may take another 5 years after PHP 5 -> 2009 :). AndreyDoes anybody want named parameters? These are handy as template functions (like in Smarty), and these are achievable since the oldest PHP by using associative arrays. It's purely syntactic sugar, but it's a very convenient thing I guess (and promotes long, long lists of parameters as well ;-)This was suggested before, and declined. Please search the archives. Derick As far as I remember this was brought to the list first by Thies and later