Re: [PHP4BETA] while/each issue on PHP/4.0RC2-dev

From: Date: Wed, 12 Apr 2000 08:12:30 +0000
Subject: Re: [PHP4BETA] while/each issue on PHP/4.0RC2-dev
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-13437@lists.php.net to get a copy of this message
Is $server actually an array? On Wed, 12 Apr 2000, Dan Larsson wrote: > What am I missing here? > > Errormessage: > ------------- > Warning: Cannot use a scalar value as an array in functions.inc on line 156 > > functions.inc starting on line 156 > ---------------------------------- > while (list($key, $value) = each($server)) > { > if (empty($val['hostname'])) > unset($server[$key]); > } > > Regards > ------------ > Dan Larsson > > > -- > PHP 4.0 Beta Mailing List <http://www.php.net/version4/> > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net > For additional commands, e-mail: php4beta-help@lists.php.net > To contact the list administrators, e-mail: php4beta-admin@lists.php.net > >

« previous php.version4 (#13437) next »