iterator_count
Count the elements in an iterator
&reftitle.description;
intiterator_count
Traversableiterator
Count the elements in an iterator.
&reftitle.parameters;
iterator
The iterator being counted.
&reftitle.returnvalues;
The number of elements in iterator.
&reftitle.examples;
iterator_count example
'pancakes', 'egg', 'milk', 'flour'));
var_dump(iterator_count($iterator));
?>
]]>
&example.outputs;