#33421 [Fbk->Opn]: foreach problem

From: Date: Thu, 23 Jun 2005 07:55:56 +0000
Subject: #33421 [Fbk->Opn]: foreach problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-80867@lists.php.net to get a copy of this message
ID: 33421 User updated by: silviucristea at yahoo dot com Reported By: silviucristea at yahoo dot com -Status: Feedback +Status: Open Bug Type: Unknown/Other Function Operating System: win2000 PHP Version: 4.3.11 New Comment: Server API - Apache Previous Comments: ------------------------------------------------------------------------ [2005-06-22 17:35:53] tony2001@php.net What SAPI are you using? (check phpinfo()) ------------------------------------------------------------------------ [2005-06-22 10:53:00] silviucristea at yahoo dot com The same error with: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip message: --- The instruction at "0x100c1c15" referenced memory at "0x00000002". The memory could not be "read". --- ------------------------------------------------------------------------ [2005-06-21 13:26:22] tony2001@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2005-06-21 13:13:39] silviucristea at yahoo dot com Description: ------------ $a = array(1 => 1, 5 => 5, 32 => 32); foreach ($a as $n => $n) { ... } !!! $n ($key == $value) windows reports an error message (memmory...) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33421&edit=1

« previous php.bugs (#80867) next »