note 18486 deleted from control-structures.while by irc-html
| From: | irc-html@php.net | Date: | Wed, 24 Apr 2002 19:41:58 +0000 |
| Subject: | note 18486 deleted from control-structures.while by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-29796@lists.php.net to get a copy of this message | ||
beware of using while() with statements like:
while(list($k)=each($array1)&&list($v)=each($array2)){...}
php does NOT like this. it simply hangs upon parsing this code, doesn't return an error or
anything. you don't even have to execute the code, only include a function that contains it.
i discovered this with with php 4.0.6