Re: foreach incompatibility

From: Date: Sat, 12 Aug 2000 20:35:36 +0000
Subject: Re: foreach incompatibility
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-28723@lists.php.net to get a copy of this message
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.... regards -- o----------0-¬---------O-·---¬----o---®-----o o O ° . | http://www.kiffen.de | pRoteçt y0ur bRaín |0 O ° ¤ ° · 0°·³°²'²³-¹'³´³°^°³~³²³°'³²²¨³²^³¹³²°²³`³º³°Þ ° o © ° . · | psychedelic experience | gott@kiffen.de | O ° o ° o-¬--o--0-----©-·--O-----o-----0-¤----------o 0 ° · ° . ¤ ·

« previous php.dev (#28723) next »