View Single Post
  #4  
Old 02-06-2009, 01:57 AM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by Loriel View Post
How do I use the params array?
Well, it's an array that stores the arguments. Example:

PHP Code:
function myFunc(arg1arg2arg3) {
  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.
Reply With Quote