Php writing a function with unknown parameters?
<p>How would I go about writing a function in php with an unknown number of parameters, for example</p>

<pre><code>function echoData (parameter1, parameter2,) {
    //do something
}
</code></pre>

<p>But when you call the function you can use:</p>

<pre><code>echoData('hello', 'hello2', 'hello3', 'hello'4);
</code></pre>

<p>So that more parameters can be sent as the number of parameters will be unknown.</p>
