From: [EMAIL PROTECTED] Operating system: Windows PHP version: 4.3.0 PHP Bug Type: Arrays related Bug description: problem with adding value to multiplie dimensional arrays
foreach($array[0] as $key => $value) { $array[1]=1; } This will change the value on $array[0] too, i can't explain it more. I tested with serialize and the value on the variable gets very strange... -- Edit bug report at http://bugs.php.net/?id=22104&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22104&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22104&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22104&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22104&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22104&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22104&r=support Expected behavior: http://bugs.php.net/fix.php?id=22104&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22104&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22104&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22104&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22104&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22104&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22104&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22104&r=gnused