SPL Funkcje
PHP Manual

iterator_to_array

(PHP 5 >= 5.1.3)

iterator_to_arrayCopy the iterator into an array

Opis

array iterator_to_array ( IteratorAggregate $iterator [, bool $use_keys ] )
Ostrzeżenie

Ta funkcja jest obecnie nieudokumentowana, dostępna jest jedynie lista jej argumentów.

Count the elements in an iterator.

Parametry

iterator

The iterator being counted.

use_keys

Zwracane wartości

The number of elements in iterator .


SPL Funkcje
PHP Manual