Multiget/intelligent generic PHP wrapper function... thoughts/advice wanted

mike mike503 at gmail.com
Sat Nov 3 05:28:03 UTC 2007


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?


More information about the memcached mailing list