On 11/2/07, Chris Goffinet <goffinet at yahoo-inc.com> wrote: > The array_values is not needed, its already an array. Just set it up > as $key=>$value and do not do extra overhead. Actually it would be: foreach($keys as $dontcare => $key) { But wouldn't foreach(array_keys($keys) as $key) { be just as clean?