On Thu, 16 Dec 2004, Jeremy Johnstone wrote: > 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).
It's ofcourse totally silly code ;-) Also, this was already in 4.3.1, so no critical thing at all. Atlest it doesn't "leak" in 4.3.10... So the only bug with foreach was in combination with the Zend Engine AFAIK. Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php