PHP multidimensional array type hinting for function parameter
<p>In PHP, is it possible to type hint a multidimensional array as a function parameter?</p>

<p>Of course you can type hint a single array as such:</p>

<pre><code>function Example(array $parameter) {}
</code></pre>

<p>But if a function needs the parameter to be a multidimensional array is there any way to enforce this through type hinting?</p>