(PHP 5 >= 5.1.0, PHP 7, PHP 8)
This abstract iterator filters out unwanted values. This class should be extended to implement custom iterator filters. The FilterIterator::accept() must be implemented in the subclass.
$iterator