Reply to RE: [PHP] quicker arrays as func args?

Your name:

Reply:


Posted by Michael Sims on 01/13/05 18:20

Justin French wrote:
> Pretty sure this can't be done, but thought I'd ask any way...
[...]
> foo("cat","dog",("a"=>"1","b"=>"2","c"=>"3")); or
> foo("cat","dog",{"a"=>"1","b"=>"2","c"=>"3"}); would be nice (Ruby has
> something like this), but I'm guessing it's not possible.

No, can't do that. I'm used to stuff like that from Perl as well. It has been
brought up a few times on the internals list (check the archives for named
parameters or something like that) but has met with resistance so I doubt we'll see
something like this anytime soon.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация