|
iterator_countCount the elements in an iterator Description
int iterator_count
( Traversable
$iterator
)Count the elements in an iterator. Parameters
Return Values
The number of elements in Examples
Example #1 iterator_count example
<?php The above example will output: int(4) |