iterator_to_array
(PHP 5 >= 5.1.3)
iterator_to_array — Copy the iterator into an array
Description
array iterator_to_array
( IteratorAggregate $iterator
[, bool $use_keys
] )
WarningThis function is
currently not documented; only its argument list is available.
Count the elements in an iterator.
Parameters
-
iterator
-
The iterator being counted.
-
use_keys
-
Return Values
The number of elements in iterator
.