Suppose I have a function:
function my_function($a, $b, $c) {
...
}
I want to be able to play with my parameter list, as if it were an array - like here, using a fake variable $parameter_list:
function my_function($a, $b, $c) {
foreach ($parameter_list as $value) {
print $value."\n";
}
...
}
How can i do this?
source
share