Re: Iterator Class/foreach Logic Flaw?

From: Date: Thu, 26 Feb 2004 21:05:09 +0000
Subject: Re: Iterator Class/foreach Logic Flaw?
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-8188@lists.php.net to get a copy of this message
Hi Marcus Yes, the current implementation of hasMore() has an identical semantic to isValid(). The generally understood semantic of isValid() and hasMore() are quite different - hence the need for the rename. Regards Philip Marcus Boerger wrote: > Hello Philip, > > just to make it clear. hasMore() would be the exact same then isValid() > only the name would change. The semantic is already what you refer to as > isValid. >

« previous php.internals (#8188) next »