RE: quicker arrays as func args?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux