#33421 [Opn->Fbk]: foreach problem

From: Date: Thu, 23 Jun 2005 09:37:13 +0000
Subject: #33421 [Opn->Fbk]: foreach problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-80883@lists.php.net to get a copy of this message
ID: 33421 Updated by: tony2001@php.net Reported By: silviucristea at yahoo dot com -Status: Open +Status: Feedback Bug Type: Unknown/Other Function Operating System: win2000 PHP Version: 4.3.11 New Comment: Can't reproduce. Please provide more info. Previous Comments: ------------------------------------------------------------------------ [2005-06-23 09:55:55] silviucristea at yahoo dot com Server API - Apache ------------------------------------------------------------------------ [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 (#80883) next »