Passing parameters with call_user_func?

Viewed 34189

Is there a way to call a function using call_user_func and pass it parameters? For instance I have

function test($args)
{
    echo "I DID IT!";
}

however I cannot call this function because it has a paramter which is not being passed by

call_user_func("test");

is there a way to call the function and provide parameters to it? (for instance, the ability to pass in a list arguments)? Any help is greatly appreciated!

2 Answers
Related