In JavaScript, I can use apply to pass an array as arguments to a function:

var f = function (n,m) {},
    args = [1,2];

f.apply(null, args);

I now need to do something similar in PHP i.e. pass an array of items as 'separate' arguments to a function.

Is there any way this can be done?

Edit
Report