Pass array to varargs function in php : <p>I've got a varargs type method defined in PHP 7</p>

<pre class="lang-php prettyprint-override"><code>function selectAll(string $sql, ...$params) { }
</code></pre>

<p>The problem I'm running into is that sometimes I want to call this method when I already have an array, and I can't just directly pass an array variable to this method.</p>
