Re: Request for comment

From: Date: Fri, 11 Aug 2000 04:06:54 +0000
Subject: Re: Request for comment
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-28563@lists.php.net to get a copy of this message
[snip] > How so? The other looping constructs don't handle arrays anyway, so in > that sense, foreach() is 'inconsistent' with the other looping constructs > by definition. >The way foreach() behaves has little to do with consistency > with other looping constructs, because it's inherently different. All of the other flow control constructs (at least the ones that accept arguments) allow any valid expression to be used as the argument(s). In retrospect, I agree that foreach is not the same kind of construct. Zak

« previous php.dev (#28563) next »