Marcus, one last question ... > You should never touch the data member of that iterator
does this mean that i should make a copy of whatever i get from the get_current_data() handler ? There seems to be a bit of inconsistency in dealing with the current element in the iterators For example, the TextIterator reuses the same zval value, whereas the classes in SPL call zval_ptr_dtor() between iterations. clayton -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php