PHP 4.0 Bug #4103: each produces errant warnings

From: Date: Tue, 11 Apr 2000 14:46:07 +0000
Subject: PHP 4.0 Bug #4103: each produces errant warnings
Groups: php.dev 
Request: Send a blank email to php-dev+get-17803@lists.php.net to get a copy of this message
From: stas@zend.com Operating system: Solaris PHP version: 4.0 Latest CVS (11/04/2000) PHP Bug Type: Scripting Engine problem Bug description: each produces errant warnings Script: <? $subvar_ar = array("AX_SES_ID" => "049129128921948493289312843"); while(list($key,$val) = each($subvar_ar)) { var_dump($key); } ?> outputs: string(9) "AX_SES_ID" Warning: Cannot use a scalar value as an array in t.php on line 3 Warning: Cannot use a scalar value as an array in t.php on line 3

« previous php.dev (#17803) next »