Is there a way to define a function in PHP that lets you define a variable amount of parameters?in the language I am more familiar with it is like so:\[code\]function myFunction(...rest){ /* rest == array of params */ return rest.length; }myFunction("foo","bar"); // returns 2;\[/code\]Thanks!