Passing array instead of callback in array_filter
<p>I'm looking at this example <a href="http://www.php.net/manual/en/function.array-filter.php#89384" rel="nofollow">array_filter comment</a> and he passes an argument to array_filter as </p>

<pre><code>array_filter($subject, array(new array_ereg("image[0-9]{3}\.png"), 'ereg')
</code></pre>

<p>How is it that the callback accepts an array with multiple arguments one of them being the actual callback function</p>
