<?php function gen() { foreach(range(0, 10) as $i) yield $i; } var_dump(iterator_count(gen()));
You have javascript disabled. You will not be able to edit any code.