|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-07-20 20:47 UTC] sterling at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 10 17:00:01 2026 UTC |
<?php $config = array( 1 => "foo", 2 => "bar", 3 => "far", ); foreach ($config as $resource => $value) { echo $resource, ":<br>\n"; foreach ($config as $resource2 => $value2) { echo "$resource2<br>\n"; } } ?> this script will display the following webpage: 1: 1 2 3 It should display this: 1: 1 2 3 2: 1 2 3 3: 1 2 3 This is a rather severe error, I think. We have a pretty basic setup, no obscure modules compiled in or anything. Thanks, Alan