On 4/18/05, Robert Cummings <[EMAIL PROTECTED]> wrote:
> On Mon, 2005-04-18 at 12:40, Hendy Irawan wrote:
> > Does 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 ;-)
> 
> I for one would love them since they are very nice and concise for
> functions that take optional parameters and have a lot of them (such as
> generic search functions). It would save on the creation of a temporary
> array, and then having pass that to the function. But then, I also think
> this has been to the list before, and we don't currently have named
> parameters, so I'm guessing it got shot down already :)
Yeah, I think so... but I did a search on the archives and found
nothing (at least, I found nothing on the first N results... maybe the
full text indexer needed some tweaking)

Anyways, what PHP alternatives to PHP are already available out there?
I think it's nice to have a "risk your life" PHP version that merges
all available patches that never got into the official PHP. People
building the "RYL" PHP will have to specify something like:

./configure --enable-named-parameters --enable-attributes

to enable these features (or maybe --enable-all-experimental for the
most adventurous). Giving no optional features would build an exact
PHP as the official version.

Does something like this already exist?

-- 
Hendy Irawan
http://www.gauldong.net
http://dev.gauldong.net

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to