You can do this in Python:

<code>
def myFunc(arg1, arg2, arg):
  #do something

myList = [1, "arg", 5]
myFunc(*myList) # calls myFunc(1, "arg", 2)
<code>

Can that be done in PHP, and if so, how?

Thanks for the help.

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

Reply via email to