Re: [PHP4BETA] while/each issue on PHP/4.0RC2-dev
| From: | Andi Gutmans | Date: | Wed, 12 Apr 2000 15:43:57 +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-13453@lists.php.net to get a copy of this message | ||
This should be fixed in the latest CVS.
Andi
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
>
>
>