Is there a way to save the arguments I am going to use in a function into a variable?
Example, if a function requires:
function foo($string, $callback_function) {
//
}
How can I save
$arguments = $string, $callback()
So that I can
foo($arguments)
Is this possible? How? And what does this method called?
Thank you very much