PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

spl_autoload_call> <iterator_count
Last updated: Fri, 10 Oct 2008

view this page in

iterator_to_array

(PHP 5 >= 5.1.3)

iterator_to_arrayCopy the iterator into an array

Description

array iterator_to_array ( IteratorAggregate $iterator [, bool $use_keys ] )
Warning

This 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 .



add a note add a note User Contributed Notes
iterator_to_array
chad 0x40 herballure 0x2e com
27-Mar-2008 04:23
The use_keys parameter was added in one of the 5.2.x releases; it defaults to TRUE. This matches the behavior in PHP 5.1.6, which lacks this parameter.

spl_autoload_call> <iterator_count
Last updated: Fri, 10 Oct 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites