From:             [EMAIL PROTECTED]
Operating system: RH Linux 6.1
PHP version:      4.0.4pl1
PHP Bug Type:     *General Issues
Bug description:  For loop always execute

I have a strange situation;
I have this code : 

$c = count($myarray);
echo $c . '<br>';

for ($i=0; $i<$c; $i++) { 
   code goes here... 

echo often often output that $c is 0 BUT the for loop ALWAYS execute...
I also have tried to sorrund the for loop with this :
if ($c>0) {

and it STILL execute if $c==0

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to