Quote:
Originally Posted by Loriel
How do I use the params array?
|
Well, it's an array that stores the arguments. Example:
PHP Code:
function myFunc(arg1, arg2, arg3) {
echo(params[0]);
echo(params[1]);
echo(params[2]);
}
Would echo arg1, arg2 and arg3 in that order. So you could probably check the size of that array, do some magic, and then pass the arguments to another function.