 <p>In PHP 5.6+ you could do something like this:</p> <pre><code>function foo(Abc ...$args) { } foo(...$arr); </code></pre> <p><code>foo()</code> takes a variable amount of arguments of type <code>Abc</code>, and by calling <code>foo(...$arr)</code> you unpack <code>$arr</code> into a list of arguments. If <code>$arr</code> contains anything other than instances of <code>Abc</code> an error will be thrown.</p> <p>This is a little 'hacky', but it's the only way to get type hinting for an array in PHP, without putting down some extra code.</p>