示例#1
0
$result = $membuf->getMulti(array('key1', 'key3', 'badkey'), $cas);
var_dump($result, $cas);
exit;
*/
//array_walk($list, 'make_list_keys', 'news_item_');
$keys = array();
if ($total_pages) {
    for ($page = 1; $page <= 40; $page++) {
        $keys[] = md5(__FILE__) . '-' . $page_size . '-' . $page . (defined('SERVER') ? SERVER : '');
    }
}
/*
print_r($keys);
exit;
*/
$all_users = $membuf->getMulti($keys, $cas);
//$test = $membuf->get($keys[0]);
//print_r(count($test));
//print_r($membuf->getResultMessage());
//print_r(PHP_EOL);
//exit;
$cnt = count($all_users);
//print_r($cnt);
//print_r(PHP_EOL);
//exit;
//------------------------------------------------------------------------------
/*
$json_data = $membuf->get(__FILE__);

print_r($json_data);
exit;