<?php var_dump(iterator_count(new CallbackFilterIterator(new ArrayIterator([1,2,3,4]), function ($i) { return $i % 2 === 0; })));
You have javascript disabled. You will not be able to edit any code.