From: [EMAIL PROTECTED] Operating system: win nt + linux (debian) PHP version: 4.0.4pl1 PHP Bug Type: Scripting Engine problem Bug description: php parser error hi, i'm afraid i found (by chance :-) ) a parser error. look at this code: <? $ar1=array (1,2,3); $ar2=array (4,5,6); if(list($ar1_val)=each($ar1)&&list($ar2_val)=each($ar2)) echo "Ok"; else echo "Error"; ?> php simply hangs by parsing that (i tried it on both win and linux - last release, 4.0.4pl1). the cure is to add more parenthesis, like this: if((list($ar1_val)=each($ar1))&&(list($ar2_val)=each($ar2))) but anyway, php should not hang in the first case... bye -- Edit Bug report at: http://bugs.php.net/?id=10287&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]