#33421 [Fbk->Opn]: foreach problem
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:
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".
---
Previous Comments:
------------------------------------------------------------------------
[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
Thread (8 messages)