Bug #16904 Updated: output-error im multi-dimensional arrays
ID: 16904 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Unknown/Other Function Operating System: Suse Linux PHP Version: 4.1.2 New Comment: It works fine with complete numeric multi-dimensional arrays! Previous Comments: [2002-04-29 10:23:27] [EMAIL PROTECTED] There is a problem with a multi-dimensional array coming from a web-formular. in my case, i have a 2 dimensional array, first dimension numeric, the second associative. when i pick up the second dimension by foreach($array as $key => $info), i cant output the elements by eg echo $info['name']. with print_r($info) I get the right information about the array, but its impossible to get an output of the elements with echo or print! -- Edit this bug report at http://bugs.php.net/?id=16904&edit=1
Bug #16904: output-error im multi-dimensional arrays
From: [EMAIL PROTECTED] Operating system: Suse Linux PHP version: 4.1.2 PHP Bug Type: Unknown/Other Function Bug description: output-error im multi-dimensional arrays There is a problem with a multi-dimensional array coming from a web-formular. in my case, i have a 2 dimensional array, first dimension numeric, the second associative. when i pick up the second dimension by foreach($array as $key => $info), i cant output the elements by eg echo $info['name']. with print_r($info) I get the right information about the array, but its impossible to get an output of the elements with echo or print! -- Edit bug report at http://bugs.php.net/?id=16904&edit=1 -- Fixed in CVS:http://bugs.php.net/fix.php?id=16904&r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=16904&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16904&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16904&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16904&r=support Expected behavior: http://bugs.php.net/fix.php?id=16904&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16904&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16904&r=submittedtwice