I think was said by Thies Arntzen few months ago for PHP5.
I saw that this is possible in Perl so asked on the dev forum for this functionality 
...but Thies was the first.


Regards,
Andrey Hristov

P.S.
Zend2 weekly cronicle is a good thing but why the last issue is from Oct 31 2001?


----- Original Message -----
From: "Marc Boeren" <[EMAIL PROTECTED]>
To: "'Markus Fischer'" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; "Andi Gutmans" <[EMAIL PROTECTED]>; "Hartmut Holzgraefe" 
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, January 11, 2002 2:43 PM
Subject: RE: [PHP-DEV] consistent way to handle structs


>
> [fn(,,,,foo,,,,bar)]
> >     I agree on that. You really don't know which parameters it
> >     was anymore.
> >     You don't have this problem with hashes.
> >     But I already see this thread won't get us anywhere :)
>
> Well, I think everybody agrees that with hashes, functions are much easier
> to use... but that it is very inefficient. How about finding a new way to
> pass named parameters to a function?
> Like
>   fn(foo2=$bar, foo=17);
> where fn accepts five parameters, in any order, but with 1 default order so
> you can use fn(17, $bar) as well (since foo, foo2 is the default order) (and
> the remaining arguments (3) are set to their default values.
>
>
> Cheerio, Marc.
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to