(PHP 5 >= 5.4.0)
CallbackFilterIterator::__construct — Create a filtered iterator from another iterator
$iterator
$callback
Creates a filtered iterator using the callback to determine which items are accepted or rejected.
callback
iterator
The iterator to be filtered.
The callback, which should return TRUE to accept the current item or FALSE otherwise. See Examples.
TRUE
FALSE
May be any valid callable value.
Não há valor retornado.