fixed iterators for php 5.3 + updated documentation about iterators