Re: foreach incompatibility
| From: | Andi Gutmans | Date: | Sun, 13 Aug 2000 04:00:44 +0000 |
| Subject: | Re: foreach incompatibility | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-28737@lists.php.net to get a copy of this message | ||
At 10:35 PM 8/12/00 +0200, waldschrott wrote:
I'll try and think about this a bit more. Andi --- Andi Gutmans <andi@zend.com> http://www.zend.com/Oh no, I think that´s the change Andi wanted to make. I personally do use array_keys() in foreach() too and did not know that that will be disallowed too. Andi told about "obscure" code...overall, I think we should disallow assignment operators only in foreach() *IF* possible, that should be sufficient to protect us from the bug that caused this change....