Beta
PHP function iterator_to_array() has 2 arguments:

&iterator required
[$use_keys] optional

Full syntax: iterator_to_array(&iterator, [$use_keys])

See PHP documentation: http://php.net/iterator_to_array

Share the knowledge your way

Please wait while checking