Question: You know how PHP's `isset()` can accept multiple (no limit either) arguments?

Like I can do:

```
isset($var1,$var2,$var3,$var4,$var5,$var6,$var7,$var8,$var9,$var10,$var11);
//etc etc

```

How would I be able to do that in my own function? How would I be able to work with infinity arguments passed?

How do they do it?

Answer: 
You can use `func_get_args()`, it will return an array of arguments.

```
function work_with_arguments() {
    echo implode(", ", func_get_args());
}

work_with_arguments("Hello", "World");
//Outputs: Hello, World

```
Calling `[func\_get\_args()](http://php.net/manual/en/function.func-get-args.php)` inside of your function will return an array of the arguments passed to PHP.