PHP: Type hint on undefined paramaters
<p>I Have a function which can take an unlimited amount of paramaters e.g:</p>

<pre><code>public function someFunc() {
  print(func_num_args()." arrays passed to function");
}
</code></pre>

<p>But I want type hint the paramaters to ensure that only arrays get passed like you would normally do:</p>

<pre><code>public function someFunc(array $someVar) {
}
</code></pre>

<p>Anyone know how this is done?</p>
