> 
>   You mean that the hasMore is being used just to
> assure the current position is valid. While it should
> be only used to confirm if there are more elements or
> not. Right?
> 

Absolutely. To avoid lots of confusion/bug reports, the current hasMore()
should be renamed to isValid(). 

Philip

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to