How to call a function with a variable number of parameters which correspond to an array values?
<p>OK, I know it sounds weird but I need to make a function that will receive two parameters the first one is a string and the second an array (containing strings).</p>

<p>This function will then call <a href="http://ca2.php.net/manual/en/function.sprintf.php" rel="nofollow">sprintf</a>. My first parameter will be <code>$format</code> and my array will correspond to the various <code>$args</code>.</p>

<p>How can I achieve this (if possible)?</p>

<p>Thanks!</p>
