|  | Posted by Vince Morgan on 04/13/07 00:42 
"Jerry Stuckle" <jstucklex@attglobal.net> wrote in messagenews:FKudneecv762PYPbnZ2dnUVZ_gydnZ2d@comcast.com...
 > But the whole point of an iterator is that it has methods you can use to
 > manipulate it.  The PHP internal pointer does not - you can only
 > manipulate the pointer through the array itself.
 >
 > Additionally, you can define multiple (or no) iterators for the same
 > list/array/whatever because it is a separate object.  But in PHP you
 > have exactly one pointer which is tied to the array.
 >
 Thanks Jerry,  I get the point now that it's tomorrow.
 I was trying to compare apples to oranges, and there was no point.
 No sleep, no brain, stupid question.
 Thanks for your patience!
 Regards,
 Vince
 [Back to original message] |