Great info Lorna. Another thing to note about iterator_to_array. If you have a RecursiveIterator, on possibly a multi-dimensional array, it will flatten your data. Just something to keep in mind.