I have something like this
function f1($name = ''){
f2("prefix_{$name}", $args);
}
the f1() function is called like:
f1('name', $var1, $var2, $var3);
How can I pass these variables to f2() inside it, the same way they are passed to f1() ?
so instead of f2("prefix_{$name}", $args);
it should be like f2("prefix_{$name}", $var1, $var2, $var3);
Not that I have no control over the f2 function 🙁
edit:
replaced
with
to account for what Gerry said in his answer.