(PHP 5 >= 5.2.0)
iterator_apply — Apply a user function to every element of an iterator
Calls a function for every element in an iterator.
The class to walk through.
The callback function to call on every element.
Arguments to pass to the callback function.
Returns the iteration count.