On Thu, 16 Dec 2004 22:00:11 +0100 (CET), Derick Rethans <[EMAIL PROTECTED]> wrote: > And yes, there is another foreach bug of you do: > > foreach($array as $key => $key)
As you mentioned in the bug report, IMHO that isn't a bug. I can't think of any instance where this should be a valid syntax (maybe I am not thinking creatively enough). -- --------------------------- Jeremy Johnstone http://www.jeremyjohnstone.com [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php