set($commands[$i+1], $commands[$i+2]); $i += 2; break; } case 'HSET': { $redis->hSet($commands[$i+1], $commands[$i+2], $commands[$i+3]); $i += 3; break; } case 'LPUSH': { $redis->lPush($commands[$i+1], $commands[$i+2]); $i += 2; break; } case 'RPUSH': { $redis->rPush($commands[$i+1], $commands[$i+2]); $i += 2; break; } case 'LSET': { $redis->lSet($commands[$i+1], $commands[$i+2], $commands[$i+3]); $i += 3; break; } case 'SADD': { $redis->sAdd($commands[$i+1], $commands[$i+2]); $i += 2; break; } case 'ZADD': { $redis->zAdd($commands[$i+1], $commands[$i+2], $commands[$i+3]); $i += 3; break; } } } // Refresh the top so the key tree is updated. require 'includes/header.inc.php'; ?>

Import